cURL
curl --request PUT \ --url https://api.trillet.ai/v1/api/workspaces/{workspaceId} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --header 'x-workspace-id: <x-workspace-id>' \ --data '{ "name": "<string>" }'
{ "_id": "<string>", "name": "<string>", "userId": "<string>", "initials": "<string>", "pricingTier": "<string>", "isMasterWorkspace": true, "teamMembers": [ {} ], "createdAt": "<string>", "updatedAt": "<string>" }
Update the name of an existing workspace. Only the owner of the workspace is authorized to perform this action.
workspaceId