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

The response is of type object.