RBACRoles

Create a new RBAC Role

Changed on

Create a new RBAC Role

post/{workspace}/rbac/roles

Request

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

Path parameters

workspace, string required
Example:team-payments

The name of the workspace

Request body

RBACRole required
comment, string nullable

Additional comment or description for the RBAC role.

created_at, integer nullable

Unix epoch when the resource was created.

id, string nullable

A string representing a UUID (universally unique identifier).

is_default, boolean nullable

Indicates whether the RBAC role is the default role.

name, string nullable required

The name of the RBAC role.

updated_at, integer nullable

Unix epoch when the resource was last updated.

Response

Successfully created RBAC Role

RBACRole required
comment, string nullable

Additional comment or description for the RBAC role.

created_at, integer nullable

Unix epoch when the resource was created.

id, string nullable

A string representing a UUID (universally unique identifier).

is_default, boolean nullable

Indicates whether the RBAC role is the default role.

name, string nullable required

The name of the RBAC role.

updated_at, integer nullable

Unix epoch when the resource was last updated.

Changes