POST
/v1/mgmt/user/logout/sessions/delete

Authorization

Descope Project ID and Management Key
AuthorizationBearer <token>

Project ID:Management Key as bearer token.

In: header

Request Body

application/json

id*string
Length1 <= length <= 254

Delete a rule created by the logout sessions endpoint, using a valid management key. Sessions it already rejected stay logged out. The rule stops applying once the settings cache refreshes, within seconds, and sessions it had not rejected work again unless another rule covers them.

curl -X POST "https://api.descope.com/v1/mgmt/user/logout/sessions/delete" \  -H "Content-Type: application/json" \  -d '{    "id": "string"  }'
Was this helpful?