terminated. This is useful for security actions such as "log out everywhere", forcing re-authentication after a password change, or an administrator revoking access for a compromised identity.identity_id field in the request body, not from the caller's own bearer token, so the authenticated caller and the identity whose sessions are terminated do not have to be the same identity.status to terminated.curl --location --request DELETE '/identity-sessions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"identity_id": "01HQZR2BKPFQ8MXJVT3G7LWNE"
}'{
"message": "All sessions terminated successfully",
"status": "success",
"data": {
"identity_id": "01HQZR2BKPFQ8MXJVT3G7LWNE",
"terminated": true
}
}