Workspaces

Update a workspace

Other errors (500, 502, 503) are on Errors.

PATCH
/v1/workspaces/{id}

Other errors (500, 502, 503) are on Errors.

Authorization

bearerAuth
AuthorizationBearer <token>

Your API key, sent as Authorization: Bearer nace_sk_...

  • Where: the dashboard's API Keys page. It is shown once, when you create it.
  • Format: nace_sk_ followed by 43 URL-safe characters (A-Z, a-z, 0-9, _ and -).
  • Limit: an account can hold at most 3 active keys.
  • Wrong or missing key: returns 401 authentication_error.

In: header

Path Parameters

idstringrequired

The workspace's workspace_id.

Request Body

application/json

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/v1/workspaces/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "workspace_id": "string",  "name": "string",  "owner_user_id": "string",  "access": {    "labels": [      {        "name": "string",        "description": "string"      }    ],    "default_label": "string"  },  "domain_id": "string",  "domain_slug": "string",  "domain_version": 0,  "config_version": 0,  "status": "active",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}