10DLC Registration
Delete a brand
Deletes the brand from your account and from the US 10DLC registry and returns 204 with no body.
DELETE
/
10dlc
/
brands
/
{id}
cURL
curl --request DELETE \
--url https://api.vobiz.ai/api/v1/sms/10dlc/brands/{id} \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>'from vobiz import Vobiz
client = Vobiz(api_key="MA_XXXXXXXX", auth_token="YOUR_AUTH_TOKEN")
client.sms.brands.delete_brand(
id="8e6c4a2f-0d9b-4b7a-a5c3-1e9f7d5b3a10",
)
const options = {
method: 'DELETE',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/sms/10dlc/brands/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"error": "missing or invalid credentials"
}{
"error": "brand not found"
}{
"error": "conflict: brand still has 2 campaign(s); delete them first"
}{
"error": "registration provider rejected the request: brand has active campaigns",
"providerError": "registration error 403 (HTTP 403): brand has active campaigns"
}{
"error": "internal error"
}{
"error": "registration provider unavailable",
"providerError": "registration error 500 (HTTP 500): upstream timeout"
}Authorizations
Your Vobiz account Auth ID (MA_XXXXXXXX).
Your Vobiz account Auth Token.
Path Parameters
Brand ID (UUID) returned by POST /10dlc/brands. An unknown ID, an ID from another account, or a value that is not a UUID returns 404 with {"error":"brand not found"}.
Response
The brand was deleted. No body.
Was this page helpful?
⌘I
cURL
curl --request DELETE \
--url https://api.vobiz.ai/api/v1/sms/10dlc/brands/{id} \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>'from vobiz import Vobiz
client = Vobiz(api_key="MA_XXXXXXXX", auth_token="YOUR_AUTH_TOKEN")
client.sms.brands.delete_brand(
id="8e6c4a2f-0d9b-4b7a-a5c3-1e9f7d5b3a10",
)
const options = {
method: 'DELETE',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/sms/10dlc/brands/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"error": "missing or invalid credentials"
}{
"error": "brand not found"
}{
"error": "conflict: brand still has 2 campaign(s); delete them first"
}{
"error": "registration provider rejected the request: brand has active campaigns",
"providerError": "registration error 403 (HTTP 403): brand has active campaigns"
}{
"error": "internal error"
}{
"error": "registration provider unavailable",
"providerError": "registration error 500 (HTTP 500): upstream timeout"
}