Revoke a source connect link
Revokes a source connect link so that it can no longer be used. Read more on how to use Connect links in our Census Embedded How-to Guides.
Request schema
Path parameters
ID of the connect link
Header parameters
HTTP: basicAuth
HTTP AuthorizationScheme: basic
POST /api/v1/source_connect_links/{connect_link_id}/revoke HTTP/1.1 Authorization: Bearer REPLACE_BEARER_TOKEN Host: app.getcensus.com
Responses
200
The outcome of the revoke request
The unique ID associated with the Connect Link.
The type of source connection to be managed by this link. A valid type is the service_name of a source type returned from the /source_types endpoint, where the source type is marked as creatable_via_connect_link.
The date and time when the Connect Link will expire.
A boolean value indicating whether the Connect Link has expired or not. Expiration settings can be adjusted in the Organization Dashboard.
A boolean value indicating whether the Connect Link has been revoked or not.
The authorization url that you will provide to end-users that begins the Census-hosted flow to authorize a source into your workspace.
The redirect URI, if any, associated with the Connect Link. The URL that you'd like the end-user to be redirected to after authorizing the source. The redirect URI can be configured globally under your organization settings in the Census UI or on dynamically via the API when creating a Connect Link.
The ID of the source, if any, associated with the data.
404
HTTP status code.
{ "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": "http://example.com", "source_id": 0 } }