Revoke Api Key
curl --request DELETE \
--url https://api.example.com/api/v1/projects/{project_slug}/api-keys/{key_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/api/v1/projects/{project_slug}/api-keys/{key_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.example.com/api/v1/projects/{project_slug}/api-keys/{key_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"message": "<string>"
}Projects
Revoke Api Key
Revoke a specific API key.
DELETE
/
api
/
v1
/
projects
/
{project_slug}
/
api-keys
/
{key_id}
Revoke Api Key
curl --request DELETE \
--url https://api.example.com/api/v1/projects/{project_slug}/api-keys/{key_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/api/v1/projects/{project_slug}/api-keys/{key_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.example.com/api/v1/projects/{project_slug}/api-keys/{key_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"message": "<string>"
}