JavaScript SDK: swarmhit.blocklist.remove(params)
Removes up to 1000 entries: values read as when they were added, or
entries as { type, value } (as GET /blocklist lists them).
Entries not on the list are ignored; values that read as none are
returned in invalid. Leads the entries already stopped stay stopped.
Takes an owner or admin: the API key's creator, of this workspace or of
its organization (403 code: not-allowed otherwise).
Authorization
bearerAuth AuthorizationBearer <token>
An API key created on the Access tokens page.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
values, entries, or both: up to 1000 in all.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/blocklist/remove" \ -H "Content-Type: application/json" \ -d '{ "entries": [ { "type": "linkedin", "value": "john-roe" } ] }'{ "data": { "removed": 0, "invalid": [ { "value": "string", "reason": "string" } ] }}