Workspaces Support

Update workspace details

Update details for the specified workspace.

patch/support/workspaces/{workspace_id}

Request

  • Base URL: https://app.mammoth.io/api/v2
  • URL: https://app.mammoth.io/api/v2/support/workspaces/{workspace_id}
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-KEY and API key in header X-API-SECRET and API key in header X-WORKSPACE-ID

Path parameters

workspace_idinteger required

Id of the workspace to work with

Example:4

Request body

namestring required

Name of the workspace to be created

plan_idinteger required

Plan ID

payment_frequencystring required

Payment frequency of the workspace

Example request

{
  "name": "Docs",
  "plan_id": "new_pro",
  "payment_frequency": "monthly"
}

Response

Successful patch

offsetinteger
limitinteger
nextstring required

URI for next page of data

Example response

{
  "users": [
    {
      "user_roles": {
        "summary": "Sample User Roles",
        "value": "{}"
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 3 revisions of this API.