Skip to main content
Fetch Blocked Users
Returns a paginated list of the users the acting user has blocked (their outbound blocks), each row carrying a public summary of the blocked user. This is the private “manage / way back to unblock” surface.
A block list is private — only the blocker can read their own list. It exposes only the caller’s outbound blocks; there is no way to read who has blocked the caller.
Requires the moderation bundle. A project without the moderation bundle returns 403 database/tables-not-available. See Bundles.

Query Parameters

number
default:"1"
Page number for pagination.
number
default:"20"
Number of results per page. Max 100.
string
Service key only, and required with one: the user this request acts as. Their own block list (as the blocker) is returned. A user token always acts as its own user and must not send it (400 block/acting-user-not-allowed).

Response

On success, returns HTTP 200 with a paginated response:
array
Array of block entries.
object
Pagination metadata.

Error Responses

A service key sent no actingUserId.
A user token sent actingUserId, even naming its own user. Only a service key names the user it acts as; a user token always acts as its own user.
Returned when a service key names an actingUserId that isn’t a user in this project.
The request sent userId. On this route the user a service key acts as is actingUserId.With a service key:
With a user token, or with no credentials:

See Also