Delete a script

Soft-deletes a script by moving it to status DELETED, after which every read endpoint returns 404 for it. The script must not be PUBLISHED, must have no ACTIVE automations linked, and must have no other scripts depending on it.

Any remaining linked automations are set to DISABLED, so a TIME automation stops firing. No Idempotency-Key header is required; a repeat call returns 404.

Path Params
uuid
required

Id of the script.

Headers
string
^\d+\.\d+\.\d+$

Version of the API contract the client targets, in MAJOR.MINOR.PATCH format. Mandated by the Gateway standard. Not yet enforced: requests without the header, or with an unsupported value, are currently processed normally. Once enforcement is enabled, such requests will be rejected with 400 Bad Request.

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*
application/json