POST v1/users({UserId})/lock
Lock A User
Information:
Base URL:
https://api.covasoft.net/usermanager
Example of a call would be:
https://api.covasoft.net/usermanager/v1/users({UserId})/lock
Example of the Body of the Call:
{ "LockReasonId": 36 }
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| UserId | The User Id you want to Lock | integer | Required | 
Body Parameters
The Lock Reason Id for a User - see example above
LockAUserPost| Name | Description | Type | Additional information | 
|---|---|---|---|
| LockReasonId | integer | None. | 
Request Formats
application/json, text/json
            Sample:
{
  "LockReasonId": 1
}
        Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information | 
|---|---|---|---|
| Version | Version | None. | |
| Content | HttpContent | None. | |
| StatusCode | HttpStatusCode | None. | |
| ReasonPhrase | string | None. | |
| Headers | Collection of Object | None. | |
| RequestMessage | HttpRequestMessage | None. | |
| IsSuccessStatusCode | boolean | None. |