Skip to content

Revoke My Session

POST
/v1/auth/sessions/{session_id}/revoke
curl --request POST \
--url http://localhost:8080/v1/auth/sessions/example/revoke
session_id
required
Session Id
string

Successful Response

Media type application/json
Response Revoke My Session V1 Auth Sessions Session Id Revoke Post
object
key
additional properties
boolean
Example generated
{
"additionalProperty": true
}

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}