Archive a call script
Archives the script — a soft delete, never a hard one. The script drops out of the default list but stays readable by id (and via include_archived=true), and campaigns already pointing at it keep working. Restore it with PATCH {"is_archived": false}. Archiving an already-archived script succeeds.
Authorizations
HTTP Basic Authentication. Use your API Access Key ID as the username and your API Access Key Secret as the password. Generate keys in the CloudTalk Dashboard under Account -> Settings -> API Keys (https://dashboard.cloudtalk.io/menu/account/settings/API-keys).
Path Parameters
Script ID (BIGINT serialized as string in responses; send the numeric value).
^[1-9][0-9]*$Response
Operation completed successfully. A 204 response has an empty body.