Skip to main content
POST/api/security/users/{userIdentifier}/actions/

Parameter

NameParameter typeTypeFormatDescription
UserIdentifier(required)pathstringuser identifier For convenience, User resources can be referenced by using one of several identifiers - username, email address or Id.

Responses

HTTP status codeReasonModel
204Success
403ForbiddenError
404User not foundError
422Validation errorError
500Internal server errorError

Examples

Suspend a user

HTTP
POST: /api/security/users/82f73a9b-2a13-4d63-bcc1-e8ee5047b01c/actions/
{
    "type": "suspend"
}

Remarks

Permissions

Member of System Administrators.

Still need help?

If you still need help after reading this article, don't hesitate to reach out to the Contensis community on Slack or raise a support ticket to get help from our team.
New support request