Delete a contract
curl --request DELETE \
--url https://app.trelica.com/api/contracts/v1/{id} \
--header 'Authorization: Bearer <token>'{
"type": "about:blank",
"title": "Not found.",
"status": 404,
"detail": "The requested resource does not exist or you do not have access to it.",
"traceId": "00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01"
}Contracts
Delete a contract
Deletes a contract by its SaaS Manager ID or by your own external ID.
Required scope: Contracts.Write (Write access to contracts)
DELETE
/
api
/
contracts
/
v1
/
{id}
Delete a contract
curl --request DELETE \
--url https://app.trelica.com/api/contracts/v1/{id} \
--header 'Authorization: Bearer <token>'{
"type": "about:blank",
"title": "Not found.",
"status": 404,
"detail": "The requested resource does not exist or you do not have access to it.",
"traceId": "00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01"
}Authorizations
OAuth 2.0. Obtain an access token via the Client Credentials or Authorization Code flow, then send it as Authorization: Bearer <token>.
Path Parameters
The contract's SaaS Manager ID, or the external ID you assigned when importing it.
Response
OK
Was this page helpful?
⌘I