SoulFire LogoSoulFire

Delete script

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

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

AuthorizationBearer <token>

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

In: header

Path Parameters

instance_id*string

The instance containing the script. Format: UUID string.

script_id*string

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

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "http://127.0.0.1:38765/v1/instances/:instance_id/scripts/:script_id"
{}
{
  "code": 0,
  "grpc-code": "string",
  "message": "string",
  "stack-trace": "string",
  "details": [
    {}
  ]
}
{
  "code": 0,
  "grpc-code": "string",
  "message": "string",
  "stack-trace": "string",
  "details": [
    {}
  ]
}
{
  "code": 0,
  "grpc-code": "string",
  "message": "string",
  "stack-trace": "string",
  "details": [
    {}
  ]
}

How is this page?