Hanzo
OpenapiIam

Changes a workspace's settings.

Changes a workspace's settings.

PUT /v1/iam/workspaces/{owner}/{name}

Addresshttps://api.hanzo.ai/v1/iam/workspaces/{owner}/{name}
MethodPUT
Operationput_iam_workspaces_by_owner_by_name
AuthAuthorization: Bearer $HANZO_API_KEY

Changes a workspace's settings. What it is called does not change, and neither does when it was created.

Request

12 fields, body application/json (required).

FieldInTypeRequiredDescription
ownerpathstringyes
namepathstringyes
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 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