curl --request DELETE \
--url https://rest-api.smsmngr.com/v1/blacklist \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"to": "420777123456"
}
'
{
"success": true,
"blacklist": {
"removed": 1,
"remaining": 5,
"invalid": []
}
}
Blacklist a opt-out
Odebrat čísla z blacklistu
Odebere konkrétní čísla z blacklistu, nebo pomocí all: true smaže celý seznam.
DELETE
/
blacklist
curl --request DELETE \
--url https://rest-api.smsmngr.com/v1/blacklist \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"to": "420777123456"
}
'
{
"success": true,
"blacklist": {
"removed": 1,
"remaining": 5,
"invalid": []
}
}
Authorizations
Body
application/json
Was this page helpful?