Disconnect a Service¶
Disconnect a social media service from a contract.
Endpoint¶
GET https://api.crowdynews.com/social-connect/disconnect/{service}
Request Parameters¶
URL PARAMETER | VALUE DESCRIPTION |
---|---|
service | The name of the social media provider to disconnect from. Must be one of:
|
QUERY PARAMETER | VALUE DESCRIPTION |
---|---|
access_token | A valid OAuth access token with the correct permission(s). |
contract_id | The resource ID that specifies from which contract the social media provider will be disconnected. The consumer that wants to disconnect must have access to the specified contract, otherwise this action is forbidden. |
Response Format¶
On success, the HTTP status code in the response header is
200 OK
. On error, the header status code is an error code and the response body contains an error object.
Example Request¶
Request:
GET https://api.crowdynews.com/social-connect/disconnect/twitter?contract_id=565c4df4056e859526e62257&access_token={your access token}
Response:
HTTP/1.1 200