Machine Templates

Delete a machine template

Changed on

Deprecated: use Environments (/api/v0/environments) instead. Deletes a machine template: revokes its API keys and marks the template deleted, after which GET and PATCH return 400. Requires the Manager or Owner role or being the template creator. The built-in empty template cannot be deleted.

delete/api/v0/machines/templates/{templateId}

Request

  • Base URL
    https://api.factory.ai
  • Auth
    HTTP bearer

Path parameters

templateId, string required

Template ID

Headers

X-Factory-Org-Id, string

Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.

Response

Response for status 204

Changes