Rename a workspace in the current organization.
func (
r *WorkspaceService) Update(ctx context.Context,
workspaceID string,
body WorkspaceUpdateParams,
opts ...option.RequestOption) (res *WorkspaceUpdateResponse,
err error
)Rename a workspace in the current organization.
Requires the workspace settings manage permission. A name that is already taken returns 409.
| Name | Type | Description |
|---|---|---|
ctx* | context.Context | |
workspaceID* | string | |
body* | WorkspaceUpdateParams | |
opts* | ...option.RequestOption |