My App
API ReferenceWorkspaces

Update Workspace

Update workspace settings.

Change the workspace name or other settings. Only the owner can make changes.

PUT
/v1/workspaces/{workspace_id}

Path Parameters

workspace_id*string
Formatuuid

Request Body

application/json

name?|

New workspace name

slug?|

New URL-safe slug

Response Body

application/json

application/json

curl -X PUT "https://loading/v1/workspaces/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "name": "string",
  "slug": "string",
  "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
  "member_count": 0,
  "created_at": "2019-08-24T14:15:22Z",
  "updated_at": "2019-08-24T14:15:22Z"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}