curl -X POST 'https://api.sendforsign.com/api/contract' \
-H 'Authorization: Bearer 123456789' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"action": "archive",
"contract": {
"contractKey": "CONTRACT_KEY"
}
}
}'
{
"contract": {
"contractKey": "CONTRACT_KEY",
"name": "New contract"
},
"code": "200",
"message": "Contract archived"
}
Archive a specific contract.
curl -X POST 'https://api.sendforsign.com/api/contract' \
-H 'Authorization: Bearer 123456789' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"action": "archive",
"contract": {
"contractKey": "CONTRACT_KEY"
}
}
}'
{
"contract": {
"contractKey": "CONTRACT_KEY",
"name": "New contract"
},
"code": "200",
"message": "Contract archived"
}
curl -X POST 'https://api.sendforsign.com/api/contract' \
-H 'Authorization: Bearer 123456789' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"action": "archive",
"contract": {
"contractKey": "CONTRACT_KEY"
}
}
}'
{
"contract": {
"contractKey": "CONTRACT_KEY",
"name": "New contract"
},
"code": "200",
"message": "Contract archived"
}