Update a workspace
This endpoint updates the name of an existing workspace identified by its workspaceId.
### Usage notes
- Set `NoDuplicates` to `true` to prevent the creation of a duplicate workspace.
- Retrieve the **workspaceId** by calling the [/v2/workspaces](https://help.sigmacomputing.com/reference/list-workspaces) endpoint.
### Usage scenarios
- **Configuration change**: Allows users to update workspace settings or names as projects evolve or requirements change.
- **Access control adjustments**: Update workspace details in response to organizational changes or policy updates.
### Best practices
- **Partial updates**: Use PATCH to support partial updates, only sending the fields that need to be updated.
- **Validation**: Validate input data to ensure it adheres to expected formats and constraints. Handle errors gracefully and inform the user of any constraints.
Authentication
AuthorizationBearer
OAuth authentication of the form <token>.
Path parameters
workspaceId
Request
The request body.
name
Name of the new workspace.
noDuplicates
Set to true to avoid creating a workspace with a duplicate name.
Response
The response body.
workspaceId
workspaceUrlId
Base62-encoded identifier used in Sigma workspace URLs.
name
createdBy
updatedBy
createdAt
updatedAt

