New Ory Agent Security is now live! Claim your complimentary test drive. Get Started!

Skip to main content

Delete & Invalidate an Identity's Sessions

DELETE 

/admin/identities/:id/sessions

Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity.

SDK ReferenceTypeScript
deleteIdentitySessions()
ParametersTypeRequiredDescription
idstringrequiredID is the identity's ID.