Deactivate script
POST
Deactivates an active script. Unregisters all event listeners and cancels any pending async operations.
header
AuthorizationBearer <JWT>Preferred API authentication. Use a JWT with the api audience.
instance_id*stringThe instance containing the script. Format: UUID string.
Format
uuidscript_id*stringThe ID of the script to deactivate. Format: UUID string.
Format
uuidResponse after successfully deactivating a script.
application/json- response
Response after successfully deactivating a script. Empty response indicates success.
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?
