RCS Senders
Delete a template
Removes the template from the RCS platform and your account, and returns 204 with no body. An unknown sender or template returns 400.
DELETE
/
api
/
v1
/
Account
/
{auth_id}
/
Sms
/
Sender
/
{senderId}
/
Template
/
{templateName}
/
cURL
curl --request DELETE \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/Sender/{senderId}/Template/{templateName}/ \
--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.rcs_senders.delete_template(
sender_id="5d7f9b1c-3e5a-4c7e-9f1b-3d5f7a9c1e3b",
template_name="appointment_reminder",
)
const options = {
method: 'DELETE',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/Sender/{senderId}/Template/{templateName}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Authorizations
Path Parameters
Response
Deleted. No body.
Was this page helpful?
⌘I
cURL
curl --request DELETE \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/Sender/{senderId}/Template/{templateName}/ \
--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.rcs_senders.delete_template(
sender_id="5d7f9b1c-3e5a-4c7e-9f1b-3d5f7a9c1e3b",
template_name="appointment_reminder",
)
const options = {
method: 'DELETE',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/Sender/{senderId}/Template/{templateName}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));