Revoke API key
curl --request POST \
--url https://api.trycomp.ai/v1/organization/api-keys/revoke \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/organization/api-keys/revoke', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/organization/api-keys/revoke"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)Organization
Revoke API key | Comp AI API
Revoke an organization API key when an integration is retired, credentials rotate, or access should be removed.
POST
/
v1
/
organization
/
api-keys
/
revoke
Revoke API key
curl --request POST \
--url https://api.trycomp.ai/v1/organization/api-keys/revoke \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/organization/api-keys/revoke', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/organization/api-keys/revoke"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)Authorizations
API key for authentication
Response
201
Was this page helpful?

