curl --request DELETE \
--url https://www.genviral.io/api/partner/v1/templates/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa \
--header 'Authorization: Bearer <token>'
{
"ok": true,
"code": 200,
"message": "Template deleted",
"data": {
"id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"deleted": true
}
}
Templates
Delete Template
Delete a mutable template
DELETE
/
api
/
partner
/
v1
/
templates
/
{templateId}
curl --request DELETE \
--url https://www.genviral.io/api/partner/v1/templates/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa \
--header 'Authorization: Bearer <token>'
{
"ok": true,
"code": 200,
"message": "Template deleted",
"data": {
"id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"deleted": true
}
}
Deletes a template you own and can mutate in current scope.
Path Parameters
string
required
Template UUID.
curl --request DELETE \
--url https://www.genviral.io/api/partner/v1/templates/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa \
--header 'Authorization: Bearer <token>'
{
"ok": true,
"code": 200,
"message": "Template deleted",
"data": {
"id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"deleted": true
}
}
Error Responses
400 missing_template_id- path param missing404 not_found- template not found in readable scope403 forbidden_template- template exists but mutation is not allowed in current scope401- authentication failed (missing/invalid/revoked token)402 subscription_required- active Creator/Professional/Business plan required403 tier_not_allowed- Scheduler tier cannot use Partner API500 template_delete_failed- unexpected delete failure
