PUT v1/Users/Activate/{id}

Activate User

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

User Id

integer

Required

Body Parameters

None.

Response Information

Resource Description

UserActivationResponse
NameDescriptionTypeAdditional information
Id

The UserId of the user whose activation status was updated

integer

None.

Username

The Username of the user whose activation status was updated

string

None.

IsActive

If true, user status was just updated to be active. If false, user status was just updated to be inactive.

boolean

None.

WarningMessages

List of warning messages encountered while servicing request

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Username": "sample string 2",
  "IsActive": true
}

application/xml, text/xml

Sample:
<UserActivationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GCApi.Models.Outbound">
  <Id>1</Id>
  <IsActive>true</IsActive>
  <Username>sample string 2</Username>
</UserActivationResponse>