Revoke a session

View as Markdown
DELETE
/users/{user_id}/sessions/{session_id}

Revokes the specified user session, immediately terminating it and preventing further sign-in activity under that session.

Pro

Access to user session management endpoints requires an active Pro plan subscription. Existing tokens remain active unless the application enforces token-to-session binding.

Authorization

API-Key
headerX-API-KEY<token>

MonoCloud APIs require authentication with an API key. Retrieve your key from the Tenant Settings section of the MonoCloud dashboard and include it in the request header as: X-API-Key: <your_api_key>

Path Parameters

user_id*string

The unique identifier of the user.

session_id*string

The unique identifier of the user session.

Response

204

The user's session was revoked successfully

Errors

401Unauthorized

403Forbidden

curl -X DELETE "https://your-domain.us.monocloud.com/api/users/WUgDGqaqzqkRmsgd3PFAT/sessions/F8B7C57ACB5BEE57AC582D96CAF46D4D" \  -H "X-API-KEY: <token>"
Empty
© 2026 MonoCloud. All rights reserved.