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
string
required

Action type.

template
required

Structure.

Response

code
string

The code of the answer.

message
string

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"
}