# Get all banned users details
You can return a list of your banned users.
GET
/banned-users/
# Request
- CURL
- JavaScript
- PHP
- Python
curl -X GET -H "Authorization: Token <your_64_char_api_key>"
-H "Accept: */*; version=2"
"https://<your_app_subdomain>.user.com/api/public/banned-users/"
# Response
{
"count": 2,
"next": null,
"previous": null,
"results": [
{
"id": 2,
"banned_name": "*test.com",
"is_domain": true
},
{
"id": 1,
"banned_name": "test@mail.com",
"is_domain": false
}
]
}