Skip to content
Luna
Esc
↑↓navigate↵open⌘Jpreview

Let a quarantined luna run again

A luna that crashes again and again is quarantined: it refuses calls with Quarantined until it is let out. This lets it out and wakes it, so it takes calls and carries on with work it had waiting. Fix what made it crash first, or it crashes again. A luna that is not quarantined is left as it is.

POST/_luna/tenants/{tenant}/lunas/{type}/release
Authorization
AuthorizationBearer token · headerrequired

An account key (la_…), an API key (lt_…) or a session token (ls_…). The scopes listed are the permissions the operation needs.

Scopes:data:write
Path parameters
tenantstringrequired

The tenant, by its name.

typestringrequired

The luna type, by its name.

Request body
requiredapplication/json
keyanyrequired

The luna's key as JSON, such as {"id":"a"}. For a type keyed by one field, the value of that field alone also works.

Responses
200

The luna is out of quarantine and awake.

default

The request failed. The status says how and error.message says why.

errorErrorDetailrequired
Show properties
codestring | null

A code for programs to branch on, when the error has one.

messagestringrequired

What went wrong, in a sentence a person can read.

Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST 'https://luna.example.com/_luna/tenants/string/lunas/string/release' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "key": null
}'
Response
The luna is out of quarantine and awake.

Was this page helpful?