POST api/users/deactivate

Deactivates users

Request Information

URI Parameters

None.

Body Parameters

Users unique identifiers

Collection of globally unique identifier

Request Formats

application/json, text/json

Sample:
[
  "be9ec8e1-1c47-4b9f-aef1-351067195c99",
  "073f3f12-bc3c-4beb-886e-ab65b25fdb18"
]

application/xml, text/xml

Sample:
<ArrayOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <guid>be9ec8e1-1c47-4b9f-aef1-351067195c99</guid>
  <guid>073f3f12-bc3c-4beb-886e-ab65b25fdb18</guid>
</ArrayOfguid>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResponse
NameDescriptionTypeAdditional information
Errors

Collection of Error

None.

IsValid

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Errors": [
    {
      "PropertyName": "sample string 1",
      "Message": "sample string 2"
    },
    {
      "PropertyName": "sample string 1",
      "Message": "sample string 2"
    }
  ],
  "IsValid": false
}

application/xml, text/xml

Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
  <Errors>
    <Error>
      <Message>sample string 2</Message>
      <PropertyName>sample string 1</PropertyName>
    </Error>
    <Error>
      <Message>sample string 2</Message>
      <PropertyName>sample string 1</PropertyName>
    </Error>
  </Errors>
</ApiResponse>