Skip to main content
GET/banned-users/:id/

Get banned user details

You can return information about a specified banned user.

Attributes

Optional unless marked required

idintegerrequired
A unique identifier for an banned user automatically generated by User.

Request​

curl -X GET "https://<your_app_subdomain>.user.com/api/public/banned-users/:id/" \
-H "Authorization: Token <your_64_char_api_key>" \
-H "Accept: */*; version=2"

Response examples​

{
"id": 36,
"banned_name": "test@mail.pl",
"is_domain": false
}

Response fields​

Fields returned in the 200 OK response body.

idinteger
A unique identifier for the campaign which is given by User
banned_namestring
Banned email address, or domain when is_domain is true.
is_domainboolean
true when banned_name is a whole domain.
note

Errors that can come from any endpoint (401, 429, 500, 502, 504) are described in HTTP response codes.

Response​