Delete a source rule

DELETE
/v1/source-rules/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

Create a key under Account → API. Send it as Authorization: Bearer st_live_…. Keys carry scopes: checks:write (create, cancel, delete; add, change and delete source rules), checks:read (list, get; list source rules) and usage:read (credit position).

In: header

Path Parameters

id*string

The rule id (sr_…) from the list.

Response Body

application/json

application/json

curl -X DELETE "https://example.com/v1/source-rules/string"
{  "ok": true,  "count": 0,  "limits": {    "maxRules": 0,    "maxValueLength": 0  }}