Templates
Delete a template
Delete a template. Pacts already made from it keep their own copy of the document.
Authorization
AuthorizationstringheaderrequiredBearer followed by your API key: Bearer sgk_…. The key also works in an X-Api-Key header. See Authentication.Path parameters
uidstringpathrequiredThe template's 8-character id. Not case-sensitive.
Response
204 No ContentDeleted. There is no body.
Errors
| Status | When |
|---|---|
| 401 Unauthorized | The API key is missing, wrong or revoked. |
| 403 Forbidden | The account's plan does not include API access (Pro and Business do). |
| 404 Not Found | No template with that id belongs to your account. |
Every error body is { "error": "message" }. See Errors.