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": "8c94a2c9-7e44-461d-a65f-6c6ce2b73e99", "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>8c94a2c9-7e44-461d-a65f-6c6ce2b73e99</UserProviderKey> </DeleteRequestorUserPost>
Response Information
Resource Description
IHttpActionResultNone.