Olympus Docs
ReferenceAPIsOry Identities APIidentity

Deactivate a Session

Calling this endpoint deactivates the specified session. Session data is not deleted.

DELETE /admin/sessions/{id}

Calling this endpoint deactivates the specified session. Session data is not deleted.

Operation ID: disableSession    Tag: identity

Path parameters

NameTypeRequiredDescription
idstringyesID is the session's ID.

Responses

StatusDescriptionBody
204Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 204.-
400errorGenericapplication/json, object
401errorGenericapplication/json, object
defaulterrorGenericapplication/json, object

Security

  • oryAccessToken

Generated from /tmp/kratos-api.json at build time.

On this page