Hanzo
OpenapiIam

Signs a person out of one application — the session ends and every browser…

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

POST /v1/iam/sessions/delete

Addresshttps://api.hanzo.ai/v1/iam/sessions/delete
MethodPOST
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, body application/json (required).

FieldInTypeRequiredDescription
applicationbodystringyes
namebodystringyes
ownerbodystringyes

Response

StatusBodyMeaning
200iam.DeleteSessionOutok

200 body — 1 field.

FieldInTypeAlwaysDescription
deletedbodyboolean

Failure carries the platform error shape — see Errors.

Examples

hanzo iam sessions delete \
  --application <application> \
  --name <name> \
  --owner <owner>

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page