Skip to content
SoulFire LogoSoulFire

Delete script

DELETE
/v1/instances/{instance_id}/scripts/{script_id}

Permanently deletes a script. If the script is currently active, it will be deactivated first. This operation cannot be undone.

Authorization

headerAuthorizationBearer <JWT>

Preferred API authentication. Use a JWT with the api audience.

Path Parameters

instance_id*string

The instance containing the script. Format: UUID string.

Formatuuid
script_id*string

The ID of the script to delete. Format: UUID string.

Formatuuid

Response Body

Response after successfully deleting a script.

application/json
  1. response

Response after successfully deleting a script. Empty response indicates success.

Example Request
curl -X DELETE 'http://127.0.0.1:38765/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/scripts/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{}

Was this page helpful?