RCS Senders
Delete a template
Removes the template from the RCS platform and from your account, and returns 204 with no body. You cannot send with the template afterwards. An unknown sender or template returns 400.
DELETE
/
senders
/
{senderId}
/
templates
/
{templateName}
cURL
curl --request DELETE \
--url https://api.vobiz.ai/api/v1/sms/senders/{senderId}/templates/{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/sms/senders/{senderId}/templates/{templateName}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Authorizations
Your Vobiz account Auth ID (MA_XXXXXXXX).
Your Vobiz account Auth Token.
Path Parameters
The id (UUID) of the RCS sender that owns the templates. An unknown sender returns sender not found.
The template's templateName, exactly as you set it when you created the template on this sender.
Response
Deleted. No body.
Was this page helpful?
⌘I
cURL
curl --request DELETE \
--url https://api.vobiz.ai/api/v1/sms/senders/{senderId}/templates/{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/sms/senders/{senderId}/templates/{templateName}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));