JavaScript SDK: swarmhit.blocklist.delete(blocklistId)
Leads it already stopped stay stopped. Takes an owner or admin, as removing entries does (403 code: not-allowed otherwise).
Authorization
bearerAuth An API key created on the Access tokens page.
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/blocklist/string"{ "data": { "ok": true }}Remove from the blocklist POST
**JavaScript SDK:** [`swarmhit.blocklist.remove(params)`](/sdk/methods#blocklist) 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).
Update the blocklist settings PATCH
**JavaScript SDK:** [`swarmhit.blocklist.settings.update(params)`](/sdk/methods#blocklist.settings) Takes an owner or admin, as removing entries does (403 `code: not-allowed` otherwise).