Skip to main content
DELETE
/
api
/
v1
/
org
/
credentials
/
{credential_id}
Delete a credential
import requests

url = "https://platform.ankra.app/api/v1/org/credentials/{credential_id}"

headers = {"Authorization": "Bearer <token>"}

response = requests.delete(url, headers=headers)

print(response.text)
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null

Path Parameters

credential_id
string<uuid4>
required

Query Parameters

organisation_id
string<uuid>
required

Organisation ID

Response

Credential deleted successfully

id
string<uuid>
required