Hanzo
OpenapiIam

Returns your organization's workspaces, newest first — the scope a team works…

Returns your organization's workspaces, newest first — the scope a team works in, alongside projects rather than instead of them.

GET /v1/iam/workspaces

Addresshttps://api.hanzo.ai/v1/iam/workspaces
MethodGET
Operationget_iam_workspaces
AuthAuthorization: Bearer $HANZO_API_KEY

Returns your organization's workspaces, newest first — the scope a team works in, alongside projects rather than instead of them.

You see your own organization's workspaces and no one else's; which organization that is comes from your credentials, not from the request.

Request

1 field.

FieldInTypeRequiredDescription
ownerquerystring

Response

StatusBodyMeaning
200iam.workspaces.ListOutputok

200 body — 16 fields.

FieldInTypeAlwaysDescription
totalbodyinteger
workspacesbodyiam.Workspace[]
workspaces[].bucketbodystring
workspaces[].createdAtbodystring (date-time)
workspaces[].createdTimebodystring
workspaces[].deletedbodyboolean
workspaces[].descriptionbodystring
workspaces[].displayNamebodystring
workspaces[].idbodystring
workspaces[].isDefaultbodyboolean
workspaces[].metadatabodystring
workspaces[].namebodystring
workspaces[].organizationbodystring
workspaces[].ownerbodystring
workspaces[].tagsbodystring[]
workspaces[].updatedAtbodystring (date-time)

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page