Revoke a security evidence destination (browser session)
import requests
url = "https://platform.ankra.app/org/security/evidence/destinations/{destination_id}/revoke"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/org/security/evidence/destinations/{destination_id}/revoke', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://platform.ankra.app/org/security/evidence/destinations/{destination_id}/revoke \
--header 'Authorization: Bearer <token>'{
"config": {
"api_base_url": "<string>",
"document_id": "<string>",
"url": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"credential_configured": true,
"enabled": true,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "vanta",
"name": "<string>",
"organisation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"revoked_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"detail": "permission_denied",
"permission": "<string>",
"scope_type": "<string>"
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}Security
Revoke a security evidence destination (browser session)
Disables the destination, deletes its credential and cancels its undelivered deliveries; the row stays for the history.
POST
/
org
/
security
/
evidence
/
destinations
/
{destination_id}
/
revoke
Revoke a security evidence destination (browser session)
import requests
url = "https://platform.ankra.app/org/security/evidence/destinations/{destination_id}/revoke"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/org/security/evidence/destinations/{destination_id}/revoke', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://platform.ankra.app/org/security/evidence/destinations/{destination_id}/revoke \
--header 'Authorization: Bearer <token>'{
"config": {
"api_base_url": "<string>",
"document_id": "<string>",
"url": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"credential_configured": true,
"enabled": true,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "vanta",
"name": "<string>",
"organisation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"revoked_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"detail": "permission_denied",
"permission": "<string>",
"scope_type": "<string>"
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
Successful response
A configured evidence receiver. The credential is stored in Vault and never returned.
Non-secret settings: url (https) for a wazuh relay or webhook; document_id and an optional https api_base_url for Vanta.
Show child attributes
Show child attributes
Available options:
vanta, wazuh, webhook