Skip to main content
POST
Create Cluster Access Grant Endpoint

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

Body

application/json
role
enum<string>
required
Available options:
view,
edit,
admin,
cluster-admin
scope
enum<string>
required
Available options:
cluster,
namespace
user_email
string
required
namespace
string | null

Response

Successful Response

grant
ClusterAccessGrant · object
required