Ga naar inhoud

End the session of `bl`

POST
/api/v1/cli/logout
curl --request POST \
--url https://example.com/api/v1/cli/logout

Ends the CLI session that the DPoP-bound access token belongs to; its tokens stop working at once.

The session ended.

No valid token with proof.

Media typeapplication/json

The body of every failed call to a management API.

object
error
required
object
code
required

Stable, machine-readable: invalid_request, unauthenticated, forbidden, not_found, conflict, upstream_unavailable, unavailable, internal, or a more specific code of the operation.

string
message
required

For people; may change between versions.

string

Example

{
"error": {
"code": "not_found",
"message": "unknown negotiation"
}
}