POST
/
source_connect_links
/
{connect_link_id}
/
revoke
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

200
application/json
Successfully revoke the connect link.
status
enum<string>
required

The outcome of the revoke request

Available options:
success
data
object
required