PUT api/tenants/{id}/status

Update's a tenant's status between enabled/disabled

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID of the tenant whose status needs to be updated.

integer

Required

Body Parameters

Whether the tenant status should be set to be enabled or disabled.

boolean

Request Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Returns the result code.

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.