Delete Session
Delete an identity session in an App. You can only send in one of the following: session_token
, session_jwt
, session_id
. If more than one parameter is sent in, a validation error will be returned.
HTTP Request
DELETE /v1/auth/sessions/delete
Returns
A successful response returns an object with message
property.
DELETE
/v1/auth/sessions/delete
curl \
--request DELETE 'https://api.streambird.io/v1/auth/sessions/delete' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"session_token":"50ulk0Tqgq3LlelxW3jNjj92yrIpyfPC3qkbXqGMTYkS45OhPtFlG4468lvtqyvs"}'
Request example
{
"session_token": "50ulk0Tqgq3LlelxW3jNjj92yrIpyfPC3qkbXqGMTYkS45OhPtFlG4468lvtqyvs"
}
Response examples (200)
{
"message": "Successfully deleted session"
}