Delete a script

delete
https://api.clakta.com/v1/projects/{idOrSlug}/scripts/{sourceId}

Delete a tracking script so it stops accepting events. Requires an API key with `projects.write`.

Authentication

Send your API key as a bearer token in the Authorization header.

See Authentication for how to create and scope an API key.

Path parameters

idOrSlugstringrequired

The project ID (with the proj_ prefix) or slug.

sourceIdstringrequired

The script ID returned on creation.

Response

The script was deleted

successenum<boolean>required

Allowed values:true