POST api/account/setstatus

Set an accounts status Processes this account API request. The parameter and response sections describe the data exchanged with the API.

Request Information

URI Parameters

None.

Body Parameters

The set account status data contract supplied with the request.

SetAccountStatusDataContract
NameDescriptionTypeAdditional information
GroupId

The unique identifier of the related group resource.

integer

None.

AccountId

The unique identifier of the related account resource.

integer

None.

Archive

Indicates whether archive is true.

boolean

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "GroupId": 1,
  "AccountId": 1,
  "Archive": true
}

Response Information

Resource Description

The response returned after the operation completes.

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.