Hanzo
OpenapiIam

Makes a workspace inside your organization — the scope a team works in,…

Makes a workspace inside your organization — the scope a team works in, alongside projects rather than instead of them.

POST /v1/iam/workspaces

Addresshttps://api.hanzo.ai/v1/iam/workspaces
MethodPOST
Operationpost_iam_workspaces
AuthAuthorization: Bearer $HANZO_API_KEY

Makes a workspace inside your organization — the scope a team works in, alongside projects rather than instead of them. A name already used in the organization is refused.

Request

10 fields, body application/json (required).

FieldInTypeRequiredDescription
bucketbodystring
createdTimebodystring
descriptionbodystring
displayNamebodystring
isDefaultbodyboolean
metadatabodystring
namebodystring
organizationbodystring
ownerbodystring
tagsbodystring[]

Response

StatusBodyMeaning
200iam.Workspaceok

200 body — 14 fields.

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

Failure carries the platform error shape — see Errors.

Examples

hanzo iam workspaces create

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page