Skip to main content
GET
/
api
/
v1
/
clusters
/
{cluster_id}
/
access
/
grants
List Cluster Access Grants Endpoint
import requests

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

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

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

print(response.text)
{
  "result": [
    {
      "id": "<string>",
      "organisation_id": "<string>",
      "cluster_id": "<string>",
      "ankra_user_id": "<string>",
      "namespace": "<string>",
      "reconcile_error": "<string>",
      "reconciled_at": "2023-11-07T05:31:56Z",
      "created_at": "2023-11-07T05:31:56Z",
      "user_email": "<string>"
    }
  ]
}

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

Response

Successful Response

result
ClusterAccessGrant · object[]
required