Queues the revocation of all user sessions in the specified environment. This is an asynchronous operation - the job runs in the background.
curl --request POST \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/users/sessions/revoke \
--header 'Authorization: Bearer <token>'{
"message": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the environment
36"95b11417-f18f-457f-8804-68e361f9164f"
Session revocation has been queued
Status message indicating the revocation has been queued
Was this page helpful?
curl --request POST \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/users/sessions/revoke \
--header 'Authorization: Bearer <token>'{
"message": "<string>"
}