Skip to main content
DELETE
/
api
/
v1
/
clusters
/
{cluster_id}
/
access
/
grants
/
{grant_id}
Delete Cluster Access Grant Endpoint
import requests

url = "https://platform.ankra.app/api/v1/clusters/{cluster_id}/access/grants/{grant_id}"

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

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

print(response.text)
{
  "deleted": true
}

Authorizations

Authorization
string
header
required

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

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Path Parameters

cluster_id
string<uuid4>
required
grant_id
string<uuid>
required

Response

Successful Response

deleted
boolean
required