POST
/
sessions
/
{sessionID}
/
revoke
Revoke a session
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 is used to authenticate requests to the Backend API. The username is the project ID and the password is the API secret.

The project ID and API secret can be found in the Developer Panel.

Path Parameters

sessionID
string
required

ID of session

Required string length: 30

Response

200
application/json

Operation succeeded.

The response is of type object.