Blocklist Entries

List blocklist entries

Returns a paginated list of blocklist entries scoped to the authenticated tenant.

Supports Flop pagination and filtering on scope, entry_type, active.

get/api/blocklist-entries

Request

  • Base URL: http://localhost:4100
  • URL: http://localhost:4100/api/blocklist-entries
  • Auth: none required

Query parameters

pageinteger

Page number (1-indexed)

page_sizeinteger

Items per page (max: 100)

order_bystring

Field to sort by

order_directionsstring

Sort direction (asc or desc)

Response

Blocklist entry list

Example response

{
  "data": [
    {
      "active": false,
      "added_by_id": "02ef9c5f-29e6-48fc-9ec3-7ed57ed351f6",
      "entry_type": "exact",
      "id": "02ef9c5f-29e6-48fc-9ec3-7ed57ed351f6",
      "inserted_at": "2020-04-20T16:20:00Z",
      "reason": "",
      "scope": "first_name",
      "tenant_id": "02ef9c5f-29e6-48fc-9ec3-7ed57ed351f6",
      "term": "",
      "updated_at": "2020-04-20T16:20:00Z"
    }
  ],
  "meta": {
    "page": 1,
    "page_size": 50,
    "total_count": 125,
    "total_pages": 3
  }
}

Changes

No recorded changes to this operation across all 4 revisions of this API.