Skip to main content
POST
/
environments
/
{environmentId}
/
users
/
{userId}
/
sessions
/
revoke
Revoke sessions by user ID
curl --request POST \
  --url https://app.dynamicauth.com/api/v0/environments/{environmentId}/users/{userId}/sessions/revoke \
  --header 'Authorization: Bearer <token>'
This response does not have an example.

Authorizations

Authorization
string
header
required

Path Parameters

environmentId
string
required
Required string length: 36
Example:
userId
string
required
Required string length: 36
Example:

Response