Template
Delete template
API Documentation
Contract
PDF and Word
Placeholder
Template
Template
Delete template
Delete an existing template.
curl -X POST 'https://api.sendforsign.com/api/template' \
-H 'Authorization: Bearer 123456789' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"action": "delete",
"template": {
"templateKey": "TEMPLATE_KEY"
}
}
}'
{
"template": {
"templateKey": "TEMPLATE_KEY"
},
"code": "200",
"message": "Template deleted"
}
Body parameters
Action type.
Response
The code of the answer.
The message of the answer.
curl -X POST 'https://api.sendforsign.com/api/template' \
-H 'Authorization: Bearer 123456789' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"action": "delete",
"template": {
"templateKey": "TEMPLATE_KEY"
}
}
}'
{
"template": {
"templateKey": "TEMPLATE_KEY"
},
"code": "200",
"message": "Template deleted"
}
curl -X POST 'https://api.sendforsign.com/api/template' \
-H 'Authorization: Bearer 123456789' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"action": "delete",
"template": {
"templateKey": "TEMPLATE_KEY"
}
}
}'
{
"template": {
"templateKey": "TEMPLATE_KEY"
},
"code": "200",
"message": "Template deleted"
}