Skip to main content
Browse Documentation
HTTP - Management

Unsuspend a user

Created by c.neale, last modified by s.yearsley on 02 Oct 2020

Unsuspending a user can be done by POST'ing an action with type 'unsuspend' to the user's actions endpoint.

POST/api/management/security/users/{userIdentifier}/actions/

Parameter

NameParameter typeTypeFormatDescriptionExampleRequired
UserIdentifierpathstringuser identifierFor convenience, User resources can be referenced by using one of several identifiers - username, email address or Id."82f73a9b-2a13-4d63-bcc1-e8ee5047b01c" or "t.durden" or "t.durden@fightclub.com"true

Example

Unsuspend a user

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

Responses

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