PUT
/
v1
/
sms
/
routing
/
plans
/
{plan}
cURL
curl --request PUT \
  --url https://api.comm.com/api/v1/sms/routing/plans/{plan} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "is_default": true
}'
{
  "data": {
    "id": "<string>",
    "team_id": "<string>",
    "team": {
      "id": "<string>",
      "name": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "balance": 123
    },
    "name": "<string>",
    "is_default": true,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "connections_count": "<string>",
    "sms_routes_count": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

plan
string<uuid>
required

The plan ID

Body

application/json

Response

200
application/json

SmsRoutingPlanResource

The response is of type object.