Templates
Delete a template
Permanently deletes a template by ID. Rejected if the template is
currently referenced by a pod (see that pod’s template field) or
bound to a serverless endpoint.
DELETE
Delete a template
Authorizations
Runpod API key authentication. Generate an API key in the Runpod console and send it in the Authorization header as Bearer <api_key>. Keys are scoped to the permissions granted when created; requests may return 403 when a valid key lacks access to the requested resource or action.
Path Parameters
Response
Deleted. Response has no body.
Previous
Update a templatePartially updates a template. This is a PATCH: only the fields
present in the body are changed; omitted fields are left untouched.
See `UpdateTemplateRequest` for the full body.
Mutable fields: `name`, `image`, `args`, `disk`, `ports`, `env`,
`registry`, `mounts`, `serverless`, `public`, and `category`.
Only the template's owner can update it (authenticated via the
request's API key); other users' templates are neither visible nor
mutable. Returns `200` with the full updated template. Pods and
endpoints already created from this template are not changed
retroactively — the template is a snapshot applied at creation time.
Next
Delete a template