---
title: "Blacklists a User."
slug: "blacklists-a-user-1"
updated: 2026-03-02T22:30:52Z
published: 2026-03-02T22:35:52Z
canonical: "support.appgate.com/blacklists-a-user-1"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://support.appgate.com/llms.txt
> Use this file to discover all available pages before exploring further.
# Blacklists a User.
Post/blacklist
Blacklists a User.
SecurityHTTPType bearer
Body parameters
Blacklisting details
object userDistinguishedNamestring
Distinguished name of a user. Format: "CN=,OU="
ExampleCN=user,OU=ldap
usernamestring
The username, same as the one in the user Distinguished Name.
Exampleuser
providerNamestring
The provider name of the user, same as the one in the user Distinguished Name.
Exampleldap
reasonstring
The reason for blacklisting. The value is stored and logged.
ExampleUser's machine is compromised.
Responses200
User was blacklisted successfully.
object userDistinguishedNamestring
Distinguished name of a user. Format: "CN=,OU="
ExampleCN=user,OU=ldap
usernamestring
The username, same as the one in the user Distinguished Name.
Exampleuser
providerNamestring
The provider name of the user, same as the one in the user Distinguished Name.
Exampleldap
blacklistedAtstring (date-time)
The date and time of the blacklisting.
reasonstring
The reason for blacklisting. The value is stored and logged.
ExampleUser's machine is compromised.
400
JSON error. Check the JSON format.
object
Generic HTTP error.
idstring
Machine readable error code.
messagestring
Human readable error details.
401
Token error. Login again.
object
Generic HTTP error.
idstring
Machine readable error code.
messagestring
Human readable error details.
403
Insufficient permissions to access this resource.
object
Generic HTTP error.
idstring
Machine readable error code.
messagestring
Human readable error details.
406
Invalid 'Accept' header.
object
Generic HTTP error.
idstring
Machine readable error code.
messagestring
Human readable error details.
422
Request validation error. Check "errors" array for details.
Expand Allobject
Http 422 error for object validation.
idstring
Machine readable error code.
messagestring
Human readable error details.
errors Array of object
List of fields with validation errors.
object fieldstring
Name of the field that failed validation.
Examplename
messagestring
Failure reason.
Examplemay not be null
500
Unexpected server side error.
object
Generic HTTP error.
idstring
Machine readable error code.
messagestring
Human readable error details.