Workspaces
Create a workspace
POST
Access: org admin (manageWorkspaces), or an org-wide API key in x-api-key with manage on workspaces.
apiKeyheader
x-api-key<token>Workspace API key (nrk_…), shown once when created
orgId*stringMatch
^[0-9a-f]{24}$application/json- body
name*stringLength
1 <= length <= 120seatLimit?|Default
nullDefault Response
application/json- response
workspace*curl -X POST 'https://api.tryzen.co/v1/orgs/string/workspaces' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'Example Response
{ "workspace": { "id": "string", "orgId": "string", "name": "string", "seatLimit": 0, "createdAt": "2019-08-24T14:15:22Z" }}Workspaces I can open in this org (an org key: every live one) GET
**Access:** org admin, or an org-wide API key in `x-api-key` with view on `workspaces`.
Rename a workspace or change its seat limit PATCH
**Access:** org admin (`manageWorkspaces`), or an org-wide API key in `x-api-key` with manage on `workspaces`.