POST
/
sessions
/
{sessionID}
/
revoke
curl --request POST \
  --url https://backendapi.corbado.io/v2/sessions/{sessionID}/revoke \
  --header 'Authorization: Basic <encoded-value>'
{
  "httpStatusCode": 123,
  "message": "OK",
  "requestData": {
    "requestID": "req-557...663",
    "link": "https://my.corbado.com/requests/req-xxxxxxxxxxxxxxxxxxx"
  },
  "runtime": 0.06167686
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

sessionID
string
required

ID of session

Required string length: 30

Response

200
application/json

Operation succeeded

The response is of type object.