Workspaces

Add storage addon to workspace

Add storage addon to the specified workspace

post/workspaces/{workspace_id}/addons/storage

Request

  • Base URL: https://app.mammoth.io/api/v2
  • URL: https://app.mammoth.io/api/v2/workspaces/{workspace_id}/addons/storage
  • 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

Workspace refers to a collection of projects. Workspace ID is unique identifier for workspace.

Example:4

Request body

additional_storage_gbinteger required

Amount of additional storage to add in gigabytes

Response

Storage addon added successfully

statusstring nullable

Request status

workspaceobject required

Updated workspace information

messagestring required

Success message

Example response

{
  "workspace": {
    "value": {
      "id": 123,
      "name": "My Workspace",
      "plan_id": 1,
      "billing_cycle": "monthly"
    }
  }
}

Changes

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