Cumulus TalosDocs
Open Talos
On this page

call_limits.update

Set or clear the tenant's daily outbound call limit (null: no limit)

Request

PUT /api/v1/telephony/call-limit

  • MCP: call_limits_update
  • SDK: client.call_limits.update (SDK path arguments use path; MCP uses params).
  • Minimum API key role: admin.
  • Idempotency: natural.

Use the request schema below. Read IDs from earlier operation results.

Input schema

json
{
  "parameters": [],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/CallLimitsUpdateRequest"
        }
      }
    }
  }
}

Responses

json
{
  "200": {
    "description": "Set or clear the tenant's daily outbound call limit (null: no limit)",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/CallLimitsGetResponse200"
        }
      }
    }
  },
  "4XX": {
    "description": "Typed error (ApiError)",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ApiError"
        }
      }
    }
  },
  "5XX": {
    "description": "Typed error (ApiError)",
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/ApiError"
        }
      }
    }
  }
}

Referenced schemas

json
{
  "components": {
    "schemas": {
      "CallLimitsUpdateRequest": {
        "type": "object",
        "properties": {
          "daily_outbound_limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 10000000,
            "nullable": true
          }
        },
        "required": [
          "daily_outbound_limit"
        ],
        "additionalProperties": false
      },
      "CallLimitsGetResponse200": {
        "type": "object",
        "properties": {
          "configured": {
            "type": "boolean"
          },
          "daily_outbound_limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 10000000,
            "nullable": true
          },
          "outbound_last_24h": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "configured",
          "daily_outbound_limit",
          "outbound_last_24h"
        ],
        "additionalProperties": false
      },
      "ApiError": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "enum": [
                  "unauthenticated",
                  "forbidden",
                  "not_found",
                  "conflict",
                  "invalid_request",
                  "idempotency_conflict",
                  "policy_denied",
                  "capability_unavailable",
                  "provider_unavailable",
                  "knowledge_unavailable",
                  "publication_invalid",
                  "run_not_active",
                  "rate_limited",
                  "outcome_unknown",
                  "internal"
                ]
              },
              "message": {
                "type": "string"
              },
              "retryable": {
                "type": "boolean"
              },
              "outcome": {
                "type": "string",
                "enum": [
                  "none",
                  "unknown"
                ]
              },
              "details": {
                "type": "object",
                "additionalProperties": {}
              }
            },
            "required": [
              "code",
              "message",
              "retryable",
              "outcome"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "error"
        ],
        "additionalProperties": false
      }
    }
  }
}

Errors and recovery

See API error handling and Troubleshooting.

Content version 2129a0d1Markdown source
call_limits.update · Cumulus Talos docs