POST api/Customer/RemoveUser

Deletes relationship between user and customer.

Request Information

URI Parameters

None.

Body Parameters

RemoveCustomerUserPost
NameDescriptionTypeAdditional 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": "2234f5ca-0538-44f7-b554-b72ed877df7c",
  "CustomerId": 2,
  "TicketsTransferUserProviderKey": "1e257a64-f965-45e5-b179-4cd76984bbfa"
}

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>1e257a64-f965-45e5-b179-4cd76984bbfa</TicketsTransferUserProviderKey>
  <UserProviderKey>2234f5ca-0538-44f7-b554-b72ed877df7c</UserProviderKey>
</RemoveCustomerUserPost>

Response Information

Resource Description

IHttpActionResult

None.