DELETE api/Link

Use this method to delete the authorization for your service to send data on behalf of a user

Request Information

URI Parameters

None.

Body Parameters

The Authorization Code provided by the user and the App Id supplied by your service.

Link
NameDescriptionTypeAdditional information
AuthorizationCode

The Authorization Code the user supplies to the provider authorizing them to post transactional information on their behalf. The user generates this code from the main website, not through the API.

globally unique identifier

Required

AppId

The App Id supplied by the provider. This must match an app that belongs to the account that is used to get an authorization token.

globally unique identifier

Required

Request Formats

application/json, text/json

Sample:
{
  "authorizationCode": "6e983dc8-e467-47d4-b696-5d82cb7bf251",
  "appId": "726a74c6-e93a-4989-a5d2-98f39e7f481c"
}

application/xml, text/xml

Sample:
<Link xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TScunts.Models.API">
  <AppId>726a74c6-e93a-4989-a5d2-98f39e7f481c</AppId>
  <AuthorizationCode>6e983dc8-e467-47d4-b696-5d82cb7bf251</AuthorizationCode>
</Link>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The link delted, if successful

Link
NameDescriptionTypeAdditional information
AuthorizationCode

The Authorization Code the user supplies to the provider authorizing them to post transactional information on their behalf. The user generates this code from the main website, not through the API.

globally unique identifier

Required

AppId

The App Id supplied by the provider. This must match an app that belongs to the account that is used to get an authorization token.

globally unique identifier

Required

Response Formats

application/json, text/json

Sample:
{
  "authorizationCode": "6506edb1-3a2c-4d0f-9c43-00c50c1e0684",
  "appId": "6a706687-0d50-4a06-bc2c-de10a59a70e9"
}

application/xml, text/xml

Sample:
<Link xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TScunts.Models.API">
  <AppId>6a706687-0d50-4a06-bc2c-de10a59a70e9</AppId>
  <AuthorizationCode>6506edb1-3a2c-4d0f-9c43-00c50c1e0684</AuthorizationCode>
</Link>