POST api/Account/DeleteRequestorUser
Deletes the user by the provider key. The role of administrator is required.
Request Information
URI Parameters
None.
Body Parameters
DeleteRequestorUserPostName | Description | Type | Additional information |
---|---|---|---|
UserProviderKey |
User id |
string |
None. |
Force |
If true the method deletes the user though he has some tickets |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserProviderKey": "bc20ba74-1138-47f3-916c-ad5584238fc9", "Force": true }
application/xml, text/xml
Sample:
<DeleteRequestorUserPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Posts"> <Force>true</Force> <UserProviderKey>bc20ba74-1138-47f3-916c-ad5584238fc9</UserProviderKey> </DeleteRequestorUserPost>
Response Information
Resource Description
IHttpActionResultNone.