{
  "info": {
    "_postman_id": "d340bed5-01bc-4538-ba07-1d2984eeab8c",
    "name": "Kong Enterprise Admin ACLs RBACRoleEntities API",
    "description": "OpenAPI 3.0 spec for Kong Gateway's Admin API.\n\nYou can learn more about Kong Gateway at [developer.konghq.com](https://developer.konghq.com).\nGive Kong a star at the [Kong/kong](https://github.com/kong/kong) repository.\n\nContact Support:\n Name: Kong Inc\n Email: support@konghq.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T02:05:36.000Z",
    "updatedAt": "2026-07-28T02:05:36.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-d340bed5-01bc-4538-ba07-1d2984eeab8c"
  },
  "item": [
    {
      "name": "{workspace}",
      "item": [
        {
          "name": "rbac",
          "item": [
            {
              "name": "roles",
              "item": [
                {
                  "name": "{RBACRoleIdForNestedEntities}",
                  "item": [
                    {
                      "name": "entities",
                      "item": [
                        {
                          "name": "{RBACRoleEntityId}",
                          "item": [
                            {
                              "name": "Delete a RBAC Role Entity",
                              "id": "c876a8fd-2fc0-408f-b858-d6c7b0a68867",
                              "protocolProfileBehavior": {
                                "disableBodyPruning": true
                              },
                              "request": {
                                "method": "DELETE",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/:workspace/rbac/roles/:RBACRoleIdForNestedEntities/entities/:RBACRoleEntityId",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    ":workspace",
                                    "rbac",
                                    "roles",
                                    ":RBACRoleIdForNestedEntities",
                                    "entities",
                                    ":RBACRoleEntityId"
                                  ],
                                  "variable": [
                                    {
                                      "id": "3043aa33-a43b-4024-b552-d8f95cab367d",
                                      "key": "workspace",
                                      "value": "default",
                                      "description": "(Required) The name of the workspace"
                                    },
                                    {
                                      "id": "c6785abe-882b-4050-bca1-4ed68e7d295a",
                                      "key": "RBACRoleIdForNestedEntities",
                                      "value": "<string>",
                                      "description": "(Required) ID of the RBAC Role to lookup"
                                    },
                                    {
                                      "id": "217c374b-a6a5-4d3e-a5a5-76831025c245",
                                      "key": "RBACRoleEntityId",
                                      "value": "<string>",
                                      "description": "(Required) ID of the RBAC Role Entity to lookup"
                                    }
                                  ]
                                },
                                "description": "Delete a RBAC Role Entity"
                              },
                              "response": [
                                {
                                  "id": "bc3cab99-7032-4490-8b6f-95bcd234b90a",
                                  "name": "Successfully deleted RBAC Role Entity or the resource didn't exist",
                                  "originalRequest": {
                                    "method": "DELETE",
                                    "header": [
                                      {
                                        "description": "Added as a part of security scheme: apikey",
                                        "key": "Kong-Admin-Token",
                                        "value": "<API Key>"
                                      }
                                    ],
                                    "url": {
                                      "raw": "{{baseUrl}}/:workspace/rbac/roles/:RBACRoleIdForNestedEntities/entities/:RBACRoleEntityId",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        ":workspace",
                                        "rbac",
                                        "roles",
                                        ":RBACRoleIdForNestedEntities",
                                        "entities",
                                        ":RBACRoleEntityId"
                                      ],
                                      "variable": [
                                        {
                                          "key": "workspace"
                                        },
                                        {
                                          "key": "RBACRoleIdForNestedEntities"
                                        },
                                        {
                                          "key": "RBACRoleEntityId"
                                        }
                                      ]
                                    }
                                  },
                                  "status": "No Content",
                                  "code": 204,
                                  "_postman_previewlanguage": "text",
                                  "header": [],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": null,
                                  "createdAt": "2026-07-28T02:05:37.000Z",
                                  "updatedAt": "2026-07-28T02:05:37.000Z",
                                  "uid": "35240-bc3cab99-7032-4490-8b6f-95bcd234b90a"
                                },
                                {
                                  "id": "89d77992-fe96-4d4b-bdad-2b18e450302a",
                                  "name": "Unauthorized",
                                  "originalRequest": {
                                    "method": "DELETE",
                                    "header": [
                                      {
                                        "key": "Accept",
                                        "value": "application/json"
                                      },
                                      {
                                        "description": "Added as a part of security scheme: apikey",
                                        "key": "Kong-Admin-Token",
                                        "value": "<API Key>"
                                      }
                                    ],
                                    "url": {
                                      "raw": "{{baseUrl}}/:workspace/rbac/roles/:RBACRoleIdForNestedEntities/entities/:RBACRoleEntityId",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        ":workspace",
                                        "rbac",
                                        "roles",
                                        ":RBACRoleIdForNestedEntities",
                                        "entities",
                                        ":RBACRoleEntityId"
                                      ],
                                      "variable": [
                                        {
                                          "key": "workspace"
                                        },
                                        {
                                          "key": "RBACRoleIdForNestedEntities"
                                        },
                                        {
                                          "key": "RBACRoleEntityId"
                                        }
                                      ]
                                    }
                                  },
                                  "status": "Unauthorized",
                                  "code": 401,
                                  "_postman_previewlanguage": "json",
                                  "header": [
                                    {
                                      "key": "Content-Type",
                                      "value": "application/json"
                                    }
                                  ],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": "{\n  \"message\": \"<string>\",\n  \"status\": \"<integer>\"\n}",
                                  "createdAt": "2026-07-28T02:05:37.000Z",
                                  "updatedAt": "2026-07-28T02:05:37.000Z",
                                  "uid": "35240-89d77992-fe96-4d4b-bdad-2b18e450302a"
                                }
                              ],
                              "createdAt": "2026-07-28T02:05:37.000Z",
                              "updatedAt": "2026-07-28T02:05:37.000Z",
                              "uid": "35240-c876a8fd-2fc0-408f-b858-d6c7b0a68867"
                            },
                            {
                              "name": "Get a RBAC Role Entity",
                              "id": "dc2fa422-1ba2-48f4-b717-e02f53346912",
                              "protocolProfileBehavior": {
                                "disableBodyPruning": true
                              },
                              "request": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/:workspace/rbac/roles/:RBACRoleIdForNestedEntities/entities/:RBACRoleEntityId",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    ":workspace",
                                    "rbac",
                                    "roles",
                                    ":RBACRoleIdForNestedEntities",
                                    "entities",
                                    ":RBACRoleEntityId"
                                  ],
                                  "variable": [
                                    {
                                      "id": "4f2ae899-8d84-4e27-b945-c05c9cd703b6",
                                      "key": "workspace",
                                      "value": "default",
                                      "description": "(Required) The name of the workspace"
                                    },
                                    {
                                      "id": "d3e09230-1477-4b61-8f9c-c78abcff986b",
                                      "key": "RBACRoleIdForNestedEntities",
                                      "value": "<string>",
                                      "description": "(Required) ID of the RBAC Role to lookup"
                                    },
                                    {
                                      "id": "4385e587-d33d-49cc-b941-b54eb1d4c0f2",
                                      "key": "RBACRoleEntityId",
                                      "value": "<string>",
                                      "description": "(Required) ID of the RBAC Role Entity to lookup"
                                    }
                                  ]
                                },
                                "description": "Get a RBAC Role Entity using ID."
                              },
                              "response": [
                                {
                                  "id": "cf83e9a8-4aed-4741-b5d3-68931840859e",
                                  "name": "Successfully fetched RBAC Role Entity",
                                  "originalRequest": {
                                    "method": "GET",
                                    "header": [
                                      {
                                        "key": "Accept",
                                        "value": "application/json"
                                      },
                                      {
                                        "description": "Added as a part of security scheme: apikey",
                                        "key": "Kong-Admin-Token",
                                        "value": "<API Key>"
                                      }
                                    ],
                                    "url": {
                                      "raw": "{{baseUrl}}/:workspace/rbac/roles/:RBACRoleIdForNestedEntities/entities/:RBACRoleEntityId",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        ":workspace",
                                        "rbac",
                                        "roles",
                                        ":RBACRoleIdForNestedEntities",
                                        "entities",
                                        ":RBACRoleEntityId"
                                      ],
                                      "variable": [
                                        {
                                          "key": "workspace"
                                        },
                                        {
                                          "key": "RBACRoleIdForNestedEntities"
                                        },
                                        {
                                          "key": "RBACRoleEntityId"
                                        }
                                      ]
                                    }
                                  },
                                  "status": "OK",
                                  "code": 200,
                                  "_postman_previewlanguage": "json",
                                  "header": [
                                    {
                                      "key": "Content-Type",
                                      "value": "application/json"
                                    }
                                  ],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": "{\n  \"actions\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"entity_id\": \"<string>\",\n  \"entity_type\": \"<string>\",\n  \"comment\": \"<string>\",\n  \"created_at\": \"<integer>\",\n  \"negative\": false,\n  \"role\": {\n    \"id\": \"<string>\"\n  },\n  \"updated_at\": \"<integer>\",\n  \"role_id\": \"<string>\"\n}",
                                  "createdAt": "2026-07-28T02:05:37.000Z",
                                  "updatedAt": "2026-07-28T02:05:37.000Z",
                                  "uid": "35240-cf83e9a8-4aed-4741-b5d3-68931840859e"
                                },
                                {
                                  "id": "e657c8ee-897c-41c8-b3e7-d3ddccf3d66c",
                                  "name": "Unauthorized",
                                  "originalRequest": {
                                    "method": "GET",
                                    "header": [
                                      {
                                        "key": "Accept",
                                        "value": "application/json"
                                      },
                                      {
                                        "description": "Added as a part of security scheme: apikey",
                                        "key": "Kong-Admin-Token",
                                        "value": "<API Key>"
                                      }
                                    ],
                                    "url": {
                                      "raw": "{{baseUrl}}/:workspace/rbac/roles/:RBACRoleIdForNestedEntities/entities/:RBACRoleEntityId",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        ":workspace",
                                        "rbac",
                                        "roles",
                                        ":RBACRoleIdForNestedEntities",
                                        "entities",
                                        ":RBACRoleEntityId"
                                      ],
                                      "variable": [
                                        {
                                          "key": "workspace"
                                        },
                                        {
                                          "key": "RBACRoleIdForNestedEntities"
                                        },
                                        {
                                          "key": "RBACRoleEntityId"
                                        }
                                      ]
                                    }
                                  },
                                  "status": "Unauthorized",
                                  "code": 401,
                                  "_postman_previewlanguage": "json",
                                  "header": [
                                    {
                                      "key": "Content-Type",
                                      "value": "application/json"
                                    }
                                  ],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": "{\n  \"message\": \"<string>\",\n  \"status\": \"<integer>\"\n}",
                                  "createdAt": "2026-07-28T02:05:37.000Z",
                                  "updatedAt": "2026-07-28T02:05:37.000Z",
                                  "uid": "35240-e657c8ee-897c-41c8-b3e7-d3ddccf3d66c"
                                },
                                {
                                  "id": "141ea513-0221-47e9-b8ed-59203719ce22",
                                  "name": "Resource does not exist",
                                  "originalRequest": {
                                    "method": "GET",
                                    "header": [
                                      {
                                        "description": "Added as a part of security scheme: apikey",
                                        "key": "Kong-Admin-Token",
                                        "value": "<API Key>"
                                      }
                                    ],
                                    "url": {
                                      "raw": "{{baseUrl}}/:workspace/rbac/roles/:RBACRoleIdForNestedEntities/entities/:RBACRoleEntityId",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        ":workspace",
                                        "rbac",
                                        "roles",
                                        ":RBACRoleIdForNestedEntities",
                                        "entities",
                                        ":RBACRoleEntityId"
                                      ],
                                      "variable": [
                                        {
                                          "key": "workspace"
                                        },
                                        {
                                          "key": "RBACRoleIdForNestedEntities"
                                        },
                                        {
                                          "key": "RBACRoleEntityId"
                                        }
                                      ]
                                    }
                                  },
                                  "status": "Not Found",
                                  "code": 404,
                                  "_postman_previewlanguage": "text",
                                  "header": [],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": null,
                                  "createdAt": "2026-07-28T02:05:37.000Z",
                                  "updatedAt": "2026-07-28T02:05:37.000Z",
                                  "uid": "35240-141ea513-0221-47e9-b8ed-59203719ce22"
                                }
                              ],
                              "createdAt": "2026-07-28T02:05:37.000Z",
                              "updatedAt": "2026-07-28T02:05:37.000Z",
                              "uid": "35240-dc2fa422-1ba2-48f4-b717-e02f53346912"
                            }
                          ],
                          "id": "3c91621b-3b62-4a5b-94e9-6ee8fb98dbc3",
                          "createdAt": "2026-07-28T02:05:37.000Z",
                          "updatedAt": "2026-07-28T02:05:37.000Z",
                          "uid": "35240-3c91621b-3b62-4a5b-94e9-6ee8fb98dbc3"
                        },
                        {
                          "name": "Create a new RBAC Role Entity",
                          "id": "be755a92-bd5b-4734-8f69-c51ea97e249e",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"actions\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"entity_id\": \"<string>\",\n  \"entity_type\": \"<string>\",\n  \"comment\": \"<string>\",\n  \"created_at\": \"<integer>\",\n  \"negative\": false,\n  \"role\": {\n    \"id\": \"<string>\"\n  },\n  \"updated_at\": \"<integer>\",\n  \"role_id\": \"<string>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/:workspace/rbac/roles/:RBACRoleIdForNestedEntities/entities",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                ":workspace",
                                "rbac",
                                "roles",
                                ":RBACRoleIdForNestedEntities",
                                "entities"
                              ],
                              "variable": [
                                {
                                  "id": "47882318-1551-46e8-bdde-5d8c179d2a49",
                                  "key": "workspace",
                                  "value": "default",
                                  "description": "(Required) The name of the workspace"
                                },
                                {
                                  "id": "0fec05d3-47c7-42ac-b0a9-122dae4c4f65",
                                  "key": "RBACRoleIdForNestedEntities",
                                  "value": "<string>",
                                  "description": "(Required) ID of the RBAC Role to lookup"
                                }
                              ]
                            },
                            "description": "Create a new RBAC Role Entity"
                          },
                          "response": [
                            {
                              "id": "c9c7d3d8-703a-4dab-bca7-195bd278b6b9",
                              "name": "Successfully created RBAC Role Entity",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: apikey",
                                    "key": "Kong-Admin-Token",
                                    "value": "<API Key>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"actions\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"entity_id\": \"<string>\",\n  \"entity_type\": \"<string>\",\n  \"comment\": \"<string>\",\n  \"created_at\": \"<integer>\",\n  \"negative\": false,\n  \"role\": {\n    \"id\": \"<string>\"\n  },\n  \"updated_at\": \"<integer>\",\n  \"role_id\": \"<string>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/:workspace/rbac/roles/:RBACRoleIdForNestedEntities/entities",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    ":workspace",
                                    "rbac",
                                    "roles",
                                    ":RBACRoleIdForNestedEntities",
                                    "entities"
                                  ],
                                  "variable": [
                                    {
                                      "key": "workspace"
                                    },
                                    {
                                      "key": "RBACRoleIdForNestedEntities"
                                    }
                                  ]
                                }
                              },
                              "status": "Created",
                              "code": 201,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"actions\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"entity_id\": \"<string>\",\n  \"entity_type\": \"<string>\",\n  \"comment\": \"<string>\",\n  \"created_at\": \"<integer>\",\n  \"negative\": false,\n  \"role\": {\n    \"id\": \"<string>\"\n  },\n  \"updated_at\": \"<integer>\",\n  \"role_id\": \"<string>\"\n}",
                              "createdAt": "2026-07-28T02:05:37.000Z",
                              "updatedAt": "2026-07-28T02:05:37.000Z",
                              "uid": "35240-c9c7d3d8-703a-4dab-bca7-195bd278b6b9"
                            },
                            {
                              "id": "dbedf4d9-e08f-418b-bf2a-03a76f71596c",
                              "name": "Unauthorized",
                              "originalRequest": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: apikey",
                                    "key": "Kong-Admin-Token",
                                    "value": "<API Key>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"actions\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"entity_id\": \"<string>\",\n  \"entity_type\": \"<string>\",\n  \"comment\": \"<string>\",\n  \"created_at\": \"<integer>\",\n  \"negative\": false,\n  \"role\": {\n    \"id\": \"<string>\"\n  },\n  \"updated_at\": \"<integer>\",\n  \"role_id\": \"<string>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/:workspace/rbac/roles/:RBACRoleIdForNestedEntities/entities",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    ":workspace",
                                    "rbac",
                                    "roles",
                                    ":RBACRoleIdForNestedEntities",
                                    "entities"
                                  ],
                                  "variable": [
                                    {
                                      "key": "workspace"
                                    },
                                    {
                                      "key": "RBACRoleIdForNestedEntities"
                                    }
                                  ]
                                }
                              },
                              "status": "Unauthorized",
                              "code": 401,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"message\": \"<string>\",\n  \"status\": \"<integer>\"\n}",
                              "createdAt": "2026-07-28T02:05:37.000Z",
                              "updatedAt": "2026-07-28T02:05:37.000Z",
                              "uid": "35240-dbedf4d9-e08f-418b-bf2a-03a76f71596c"
                            }
                          ],
                          "createdAt": "2026-07-28T02:05:37.000Z",
                          "updatedAt": "2026-07-28T02:05:37.000Z",
                          "uid": "35240-be755a92-bd5b-4734-8f69-c51ea97e249e"
                        }
                      ],
                      "id": "06ffc015-d739-48ca-9f77-2b0a83555071",
                      "createdAt": "2026-07-28T02:05:37.000Z",
                      "updatedAt": "2026-07-28T02:05:37.000Z",
                      "uid": "35240-06ffc015-d739-48ca-9f77-2b0a83555071"
                    }
                  ],
                  "id": "38c832f0-f208-45cf-85d6-44f9c66e2abf",
                  "createdAt": "2026-07-28T02:05:37.000Z",
                  "updatedAt": "2026-07-28T02:05:37.000Z",
                  "uid": "35240-38c832f0-f208-45cf-85d6-44f9c66e2abf"
                }
              ],
              "id": "f817f10d-f2a4-49c1-806d-177e5d104b18",
              "createdAt": "2026-07-28T02:05:37.000Z",
              "updatedAt": "2026-07-28T02:05:37.000Z",
              "uid": "35240-f817f10d-f2a4-49c1-806d-177e5d104b18"
            }
          ],
          "id": "7091407a-ada5-4e98-80c9-d6ea3fd4ad5b",
          "createdAt": "2026-07-28T02:05:37.000Z",
          "updatedAt": "2026-07-28T02:05:37.000Z",
          "uid": "35240-7091407a-ada5-4e98-80c9-d6ea3fd4ad5b"
        }
      ],
      "id": "f8931016-24d0-4184-9d32-d45e0b20fe00",
      "createdAt": "2026-07-28T02:05:37.000Z",
      "updatedAt": "2026-07-28T02:05:37.000Z",
      "uid": "35240-f8931016-24d0-4184-9d32-d45e0b20fe00"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "Kong-Admin-Token",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "hostname",
      "value": "localhost"
    },
    {
      "key": "path",
      "value": "/"
    },
    {
      "key": "port",
      "value": "8001"
    },
    {
      "key": "protocol",
      "value": "http"
    },
    {
      "key": "baseUrl",
      "value": "{{protocol}}://{{hostname}}:{{port}}{{path}}"
    }
  ]
}