Delete saved verification results in bulk
POST /api/v1/citations/delete deletes up to 100 saved verification results in one call and lists which ids were deleted and which were not found. Free.
Last updated
/api/v1/citations/deletehttps://api.webcite.coWhen to use it
Send between 1 and 100 verification result ids in ids. Each result is deleted as single delete deletes it, in one transaction for the whole call. An id from another account is reported in not_found and left untouched.
Response example
Built from the response schema in the OpenAPI file; identifiers are placeholders.
{
"deleted": [
"00000000-0000-4000-8000-000000000031"
],
"not_found": [
"00000000-0000-4000-8000-000000000032"
]
}Request
Free. Deleting verification results costs 0 credits.
Examples run on your server. Set WEBCITE_API_KEY first. Python examples use the requests package.
curl --fail-with-body -X POST 'https://api.webcite.co/api/v1/citations/delete' \
-H "x-api-key: $WEBCITE_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"ids": [
"00000000-0000-4000-8000-000000000031",
"00000000-0000-4000-8000-000000000032"
]
}'Request body
idsstring[]requiredIds to delete (1 to 100).
Response
HTTP 200 returns deleted, the ids removed, and not_found, the ids that do not exist or that another account owns. Repeated ids count once.
200 response
application/json
deletedstring[]requiredin_progressstring[]Reviews still running; delete them after they finish.
not_foundstring[]requiredIds this account does not own or that do not exist.
Errors
400: ids is missing, empty or longer than 100 entries, an id is longer than 191 characters, or an id is not a UUID (Invalid citation id); nothing is deleted. 401: missing or invalid key. 403: app keys cannot use this endpoint.