POST v1/users({UserId})/enable

Re-Enable a User for a Company

Information:

Use this request to re-enable a user in the system, making the user active again. The IsActive property will be set to true and the user will be able to log on and obtain an access token.

Base URL:

https://api.covasoft.net/usermanager

Example of a call would be:

https://api.covasoft.net/usermanager/v1/users({UserId})/enable

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UserId

The User Id you want to Disable

integer

Required

Body Parameters

None.

Response Information

Resource Description

The Re-Eanbled User Details

ReEnableAUserReturn
NameDescriptionTypeAdditional information
Id

integer

None.

CorrelationId

string

None.

ClientUserId

string

None.

FirstName

string

None.

LastName

string

None.

UserName

string

None.

Email

string

None.

IsActive

boolean

None.

ParentEntityId

integer

None.

ParentEntityName

string

None.

Profiles

Collection of Object

None.

Picture

UserPicture

None.

Address

UserAddress

None.

PhoneNumbers

Collection of UserPhoneNumber

None.

JobTitle

string

None.

Attributes

UserAttributes

None.

Version

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CorrelationId": "sample string 2",
  "ClientUserId": "sample string 3",
  "FirstName": "sample string 4",
  "LastName": "sample string 5",
  "UserName": "sample string 6",
  "Email": "sample string 7",
  "IsActive": true,
  "ParentEntityId": 9,
  "ParentEntityName": "sample string 10",
  "Profiles": [
    {},
    {}
  ],
  "Picture": {
    "Id": "ebb16d38-5f9b-47de-893c-7dad4197990e",
    "Href": "http://webapihelppage2.com",
    "Height": 1.1,
    "Width": 1.1,
    "Md5Checksum": "sample string 3",
    "Name": "sample string 4",
    "MimeType": "sample string 5"
  },
  "Address": {
    "AddressLine1": "sample string 1",
    "AddressLine2": "sample string 2",
    "City": "sample string 3",
    "StateCode": "sample string 4",
    "CountryCode": "sample string 5",
    "Zip": "sample string 6"
  },
  "PhoneNumbers": [
    {
      "Number": "sample string 1",
      "Extension": "sample string 2",
      "Type": "sample string 3"
    },
    {
      "Number": "sample string 1",
      "Extension": "sample string 2",
      "Type": "sample string 3"
    }
  ],
  "JobTitle": "sample string 11",
  "Attributes": {
    "Department": "sample string 1",
    "BadgeId": 2
  },
  "Version": 12
}