Force-logout: revoke the user's live OIDC sessions (best-effort)
POST
Not available to personal access tokens; call it from a signed-in session.
bearerheader
AuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
user_id*stringSuccess
curl -X POST 'http://localhost:7091/api/admin/users/string/revoke-sessions'Example Response200
Empty
Grant the admin role to ``user_id`` (manual source) POST
Idempotent. Not available to [personal access tokens](/API/personal-access-tokens); call it from a signed-in session.
Store the body's `guardrails` object as the default for new agents; existing agents keep their own PUT
Not available to [personal access tokens](/API/personal-access-tokens); call it from a signed-in session.