Data Source
Revoke Connection
API Documentation
Health
Files
Web Scrape
Data Source
SharePoint
GitHub
Chunks / Embeddings
Retrieval
Data Source
Revoke Connection
This endpoint revokes the access token for a particular data source connection.
POST
/
revoke_access_token
curl --request POST \
--url https://api.carbon.ai/revoke_access_token \
--header 'Content-Type: application/json' \
--header 'authorization: <api-key>' \
--data '{
"data_source_id": 123
}'
{
"success": true
}
Authorizations
token <token>
, corresponds to temporary access tokens.
Body
application/json
Response
200
application/json
Successful Response
curl --request POST \
--url https://api.carbon.ai/revoke_access_token \
--header 'Content-Type: application/json' \
--header 'authorization: <api-key>' \
--data '{
"data_source_id": 123
}'
{
"success": true
}