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>", "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>", "team": { "id": "<string>", "name": "<string>", "created_at": "2023-11-07T05:31:56Z", "balance": 123 } } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The plan ID
SmsRoutingPlanResource
Show child attributes