POST api/Customer/CancelAccount

Request Information

URI Parameters

None.

Body Parameters

CancelAccountRequestDto
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

MarketingToolNotification

MarketingToolNotificationEnum

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "1b023157-96ec-4e97-a166-15f1d8f83b5d",
  "MarketingToolNotification": 0
}

application/xml, text/xml

Sample:
<CancelAccountRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request">
  <MarketingToolNotification>None</MarketingToolNotification>
  <UserId>1b023157-96ec-4e97-a166-15f1d8f83b5d</UserId>
</CancelAccountRequestDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>