Searches

Delete a terminal search

Deletes a job when its current state is eligible for deletion. Jobs that are still running return a conflict. Requires the searches:write scope when called with a scoped key.

DELETE/v1/searches/{id}

Deletes a job when its current state is eligible for deletion. Jobs that are still running return a conflict. Requires the searches:write scope when called with a scoped key.

AuthorizationBearer <token>

Pass Authorization: Bearer mapleads_xxx.

In: header

Path Parameters

id*string

Search identifier.

Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/searches/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "deleted": true}