POST
/
destination_connect_links
/
{connect_link_id}
/
revoke
Revoke a destination connect link
curl --request POST \
  --url https://app.getcensus.com/api/v1/destination_connect_links/{connect_link_id}/revoke \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "data": {
    "id": 469,
    "type": "hubspot",
    "expiration": "2023-07-22T23:42:47.239Z",
    "expired": false,
    "revoked": false,
    "uri": "https://app.getcensus.com/pbc?auth=expiring_auth_key",
    "redirect_uri": "<string>",
    "destination_id": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer token for the current workspace. Can be retrieved from the Workspace's settings page.

Path Parameters

ID of the connect link

Response

Successfully revoke the connect link.

status
enum<string>
required

The outcome of the fetch request The outcome of the revoke request

Available options:
success
Example:

"success"

data
object
required