POST api/Customer/RemoveUser
Deletes relationship between user and customer.
Request Information
URI Parameters
None.
Body Parameters
RemoveCustomerUserPostName | Description | Type | Additional information |
---|---|---|---|
UserProviderKey |
User id |
string |
None. |
CustomerId |
The user will be deleted for the Customer with this id. |
integer |
None. |
TicketsTransferUserProviderKey |
Transfer tickets from removing user to the user with this id. If null, nothing is transferred. |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserProviderKey": "b8481abd-4c63-452c-9576-8fb5be1551e9", "CustomerId": 2, "TicketsTransferUserProviderKey": "1821a6c4-1b49-4632-9049-bf3a1c3c0925" }
application/xml, text/xml
Sample:
<RemoveCustomerUserPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Posts"> <CustomerId>2</CustomerId> <TicketsTransferUserProviderKey>1821a6c4-1b49-4632-9049-bf3a1c3c0925</TicketsTransferUserProviderKey> <UserProviderKey>b8481abd-4c63-452c-9576-8fb5be1551e9</UserProviderKey> </RemoveCustomerUserPost>
Response Information
Resource Description
IHttpActionResultNone.