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.
LinkName | Description | Type | Additional 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
{ "authorizationCode": "4413f078-17d4-4b6c-ab1e-754da5e0a462", "appId": "f097e7f8-6392-45d6-b438-0a50f60b3cbb" }
application/xml, text/xml
<Link xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TScunts.Models.API"> <AppId>f097e7f8-6392-45d6-b438-0a50f60b3cbb</AppId> <AuthorizationCode>4413f078-17d4-4b6c-ab1e-754da5e0a462</AuthorizationCode> </Link>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
The link delted, if successful
LinkName | Description | Type | Additional 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
{ "authorizationCode": "7be3b4fa-704a-4425-9f3c-68ba80c43333", "appId": "9da84b62-0903-490a-843d-6d26988e2054" }
application/xml, text/xml
<Link xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TScunts.Models.API"> <AppId>9da84b62-0903-490a-843d-6d26988e2054</AppId> <AuthorizationCode>7be3b4fa-704a-4425-9f3c-68ba80c43333</AuthorizationCode> </Link>