PUT
/
v1
/
sms
/
routing
/
blacklist
/
{blacklist}
Update the specified resource in storage
curl --request PUT \
  --url https://api.comm.com/api/v1/sms/routing/blacklist/{blacklist} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "reason": "<string>"
}'
{
  "data": {
    "id": "<string>",
    "sms_route_id": "<string>",
    "company_id": "<string>",
    "country_id": "<string>",
    "reason": "<string>",
    "team_id": "<string>",
    "created_by": "<string>",
    "created_at": "<string>",
    "updated_at": "<string>",
    "sms_route": "<string>",
    "company": "<string>",
    "country": "<string>",
    "created_by_user": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

blacklist
string<uuid>
required

The blacklist ID

Body

application/json
reason
string
required
Maximum length: 1000

Response

SmsRoutingBlacklistResource

data
object
required