Hanzo AI
OpenapiIam

Delete sessions

Signs a person out of one application — the session ends and every browser carrying it stops being authenticated.

DELETE /v1/iam/sessions/{owner}/{name}/{application}

Addresshttps://api.hanzo.ai/v1/iam/sessions/{owner}/{name}/{application}
MethodDELETE
OperationdeleteSession
AuthAuthorization: Bearer $HANZO_API_KEY

Signs a person out of one application — the session ends and every browser carrying it stops being authenticated.

A session that is already gone reports that nothing was deleted rather than an error, so the call is safe to repeat.

Request

3 fields.

FieldInTypeRequiredDescription
ownerpathstringyes
namepathstringyes
applicationpathstringyes

Response

StatusBodyMeaning
200iam.DeleteSessionOutok

200 body — 1 field.

FieldInTypeAlwaysDescription
deletedbodyboolean

Failure carries the platform error shape — see Errors.

Examples

hanzo iam sessions owner name rm <owner> <name> <application>

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page