Skip to main content
DELETE
/
api
/
v1
/
templates
/
{id}
curl -X DELETE 'https://www.wiseyield.co/api/v1/templates/aaaaaaaa.../...' \
  -H "Authorization: Bearer $WISEYIELD_API_KEY"

Documentation Index

Fetch the complete documentation index at: https://docs.wiseyield.co/llms.txt

Use this file to discover all available pages before exploring further.

DELETE https://www.wiseyield.co/api/v1/templates/{id}

Authentication

Requires a key with the tasks:write scope.

Path parameters

id
string
required
Template UUID.

Response

Returns 204 No Content on success.
Recurring task schedules and previously-applied tasks reference the template by UUID via foreign key. Soft-deleting the template doesn’t affect those — but new attempts to apply or create recurring schedules against it will return 404 NOT_FOUND.
curl -X DELETE 'https://www.wiseyield.co/api/v1/templates/aaaaaaaa.../...' \
  -H "Authorization: Bearer $WISEYIELD_API_KEY"

Errors

StatusWhen
400 INVALID_ID{id} is not a valid UUID
401Missing, malformed, expired, or revoked API key
403 INSUFFICIENT_SCOPEKey lacks tasks:write scope
404 NOT_FOUNDTemplate doesn’t exist or wasn’t created by you
429 RATE_LIMIT_EXCEEDEDPer-user rate limit reached
5xxServer error