Skip to content

End an admin token

DELETE
/v1/admin/tokens/{id}
curl --request DELETE \
--url https://beta-api.plune.ai/v1/admin/tokens/example \
--cookie plune_session=<plune_session>

The next call with it is told 401. The owner’s session alone; a token that is not the caller’s, or is over already, is a 404. Ten a minute.

id
required
string

Ended

An admin token was used (code: session_required)

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}

Not found

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}

Rate-limited: the per-route throttle, or the per-minute request limit of the plan an API token counts by (#1442; the body names the plan, #2092). Retry-After carries the seconds until the window rolls over.

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}
Retry-After
integer

Seconds until the window rolls over