Skip to main content
DELETE
Soft-deletes a script. The script and its tasks are retained for recovery and historical references, but no longer appear in API reads.
Deleting the default script also clears the organization’s default-script selection. Set another default before creating jobs that rely on the organization default.

Authorizations

X-API-KEY
string
header
required

Your Classet API key. Create and rotate keys in Settings → API.

Path Parameters

scriptId
string
required

The ID of the script to delete.

Response

Deleted

data
object
required