Scripts

Delete a script

Changed on

Soft-delete a project script by name.

delete/scripts/{name}

Request

  • Base URL: https://api.sazabi.com/v1
  • URL: https://api.sazabi.com/v1/scripts/{name}
  • Auth: none declared

Path parameters

namestring required

Script to delete.

Request body

expectedScriptIdstring uuid required

Script ID returned by the read being edited; protects against name reuse.

expectedRevisioninteger required

configurationRevision returned by the read being edited. Stale writes return a conflict.

projectIdstring uuid

Project that owns the script. Auto-filled from CLI and SDK context when omitted.

Changes

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      request body became required