Skip to content
SoulFire LogoSoulFire

Deactivate script

POST
/v1/instances/{instance_id}/scripts/{script_id}:deactivate

Deactivates an active script. Unregisters all event listeners and cancels any pending async operations.

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 deactivate. Format: UUID string.

Formatuuid

Response Body

Response after successfully deactivating a script.

application/json
  1. response

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

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

Was this page helpful?