Hanzo
OpenapiIam

Replaces the set of browsers a session covers — signing out the ones you leave…

Replaces the set of browsers a session covers — signing out the ones you leave off while the session itself stays live.

POST /v1/iam/sessions/update

Addresshttps://api.hanzo.ai/v1/iam/sessions/update
MethodPOST
OperationupdateSession
AuthAuthorization: Bearer $HANZO_API_KEY

Replaces the set of browsers a session covers — signing out the ones you leave off while the session itself stays live. A session that does not exist is reported as missing rather than created.

Request

4 fields, body application/json (required).

FieldInTypeRequiredDescription
applicationbodystringyes
namebodystringyes
ownerbodystringyes
sessionIdbodystring[]

Response

StatusBodyMeaning
200iam.Sessionok

200 body — 10 fields.

FieldInTypeAlwaysDescription
applicationbodystring
createdAtbodystring (date-time)
createdTimebodystring
deletedbodyboolean
exclusiveSigninbodybooleanExclusiveSignin is a transient control flag (v1 xorm:"-"): a caller sets it on a create to collapse SessionId down to the single incoming cookie instead of…
idbodystring
namebodystring
ownerbodystring
sessionIdbodystring[]
updatedAtbodystring (date-time)

Failure carries the platform error shape — see Errors.

Examples

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

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page