Owner user control settings

Transfer ownerships of the workspaces

Transfer ownerships of the workspaces

patch/settings/users

Request

  • Base URL: https://app.mammoth.io/api/v2
  • URL: https://app.mammoth.io/api/v2/settings/users
  • 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

Request body

Example request

{
  "patches": [
    {
      "op": "replace",
      "path": "role",
      "value": {
        "workspace_id": 1,
        "user_id": 29,
        "new_role": "workspace_owner",
        "remove_role": "workspace_member"
      }
    }
  ]
}

Response

Request fulfilled, document follows

object required

Changes

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