RBACRoleEndpoints

Create a new RBAC Role Endpoint

Changed on

Create a new RBAC Role Endpoint

post/{workspace}/rbac/roles/{RBACRoleIdForNestedEntities}/endpoints

Request

  • Base URL
    http://localhost:8001
  • Auth
    API key in header Kong-Admin-Token

Path parameters

RBACRoleIdForNestedEntities, string required

ID of the RBAC Role to lookup

workspace, string required
Example:team-payments

The name of the workspace

Request body

RBACRoleEndpoint required
actions, string[] required
comment, string nullable

Additional comment or description for the RBAC role endpoint.

created_at, integer nullable

Unix epoch when the resource was created.

endpoint, string nullable required

The endpoint associated with the RBAC role.

negative, boolean nullable

Indicates whether the RBAC role has negative permissions for the endpoint.

role, object nullable

The RBAC role associated with the endpoint.

updated_at, integer nullable

Unix epoch when the resource was last updated.

workspace, string nullable

The workspace associated with the endpoint.

role_id, string nullable

Response

Successfully created RBAC Role Endpoint

RBACRoleEndpoint required
actions, string[] required
comment, string nullable

Additional comment or description for the RBAC role endpoint.

created_at, integer nullable

Unix epoch when the resource was created.

endpoint, string nullable required

The endpoint associated with the RBAC role.

negative, boolean nullable

Indicates whether the RBAC role has negative permissions for the endpoint.

role, object nullable

The RBAC role associated with the endpoint.

updated_at, integer nullable

Unix epoch when the resource was last updated.

workspace, string nullable

The workspace associated with the endpoint.

role_id, string nullable

Changes