TryzenAPI
Workspaces

Rename a workspace or change its seat limit

PATCH
/v1/orgs/{orgId}/workspaces/{workspaceId}

Access: org admin (manageWorkspaces), or an org-wide API key in x-api-key with manage on workspaces.

Authorization

apiKey
headerx-api-key<token>

Workspace API key (nrk_…), shown once when created

Path Parameters

orgId*string
Match^[0-9a-f]{24}$
workspaceId*string
Match^[0-9a-f]{24}$

Request Body

application/json
  1. body
name?string
Length1 <= length <= 120
seatLimit?|null

Response Body

Default Response

application/json
  1. response
workspace*
Example Request
curl -X PATCH 'https://api.tryzen.co/v1/orgs/string/workspaces/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "workspace": {    "id": "string",    "orgId": "string",    "name": "string",    "seatLimit": 0,    "createdAt": "2019-08-24T14:15:22Z"  }}