Hanzo
OpenapiTeam

Signs this browser out of team by expiring the HttpOnly account-token cookie…

Signs this browser out of team by expiring the HttpOnly account-token cookie the OAuth callback set.

DELETE /v1/team/account/cookie

Addresshttps://api.hanzo.ai/v1/team/account/cookie
MethodDELETE
Operationdelete_team_account_cookie
AuthAuthorization: Bearer $HANZO_API_KEY

Signs this browser out of team by expiring the HttpOnly account-token cookie the OAuth callback set. It is the counterpart of the cookie PUT, it takes nothing — the cookie it clears is named by this service, never by the caller — and it is unconditional: a caller with no cookie, an expired one or a forged one all get the same acknowledgement, because clearing something that is not there is the same outcome as clearing something that is.

It clears ONLY the team session cookie. The IAM access-token cookie the same callback set is a different credential with a different lifetime and is left alone, so this is a team sign-out, not a platform one.

Request

DELETE /v1/team/account/cookie takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200cookieAckok

200 body — 1 field.

FieldInTypeAlwaysDescription
resultbodybooleanResult is true when the cookie was written or cleared.

Failure carries the platform error shape — see Errors.

Examples

hanzo team account cookie clear

Team API · All Hanzo APIs · Interactive reference

How is this guide?

On this page