{
  "info": {
    "_postman_id": "fdf3be80-687e-4898-9085-58ad5369ae65",
    "name": "Kong Enterprise Admin ACLs RBACRoles 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:37.000Z",
    "updatedAt": "2026-07-28T02:05:37.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-fdf3be80-687e-4898-9085-58ad5369ae65"
  },
  "item": [
    {
      "name": "{workspace}",
      "item": [
        {
          "name": "rbac",
          "item": [
            {
              "name": "roles",
              "item": [
                {
                  "name": "{RBACRoleId}",
                  "item": [
                    {
                      "name": "Delete a RBAC Role",
                      "id": "18503d19-4c98-4df1-8a29-0e098c3acfe2",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "DELETE",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/:workspace/rbac/roles/:RBACRoleId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            ":workspace",
                            "rbac",
                            "roles",
                            ":RBACRoleId"
                          ],
                          "variable": [
                            {
                              "id": "fd131bc6-a36b-4eda-80b3-5d0665db7f30",
                              "key": "workspace",
                              "value": "default",
                              "description": "(Required) The name of the workspace"
                            },
                            {
                              "id": "96cbb26f-062a-4c97-b987-3e34019a2575",
                              "key": "RBACRoleId",
                              "value": "<string>",
                              "description": "(Required) ID of the RBAC Role to lookup"
                            }
                          ]
                        },
                        "description": "Delete a RBAC Role"
                      },
                      "response": [
                        {
                          "id": "ea78852b-0d59-49d3-9c5a-6f04da3cb17a",
                          "name": "Successfully deleted RBAC Role 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/:RBACRoleId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                ":workspace",
                                "rbac",
                                "roles",
                                ":RBACRoleId"
                              ],
                              "variable": [
                                {
                                  "key": "workspace"
                                },
                                {
                                  "key": "RBACRoleId"
                                }
                              ]
                            }
                          },
                          "status": "No Content",
                          "code": 204,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T02:05:38.000Z",
                          "updatedAt": "2026-07-28T02:05:38.000Z",
                          "uid": "35240-ea78852b-0d59-49d3-9c5a-6f04da3cb17a"
                        },
                        {
                          "id": "b74f090c-d9eb-424d-b348-3d3d55aa592a",
                          "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/:RBACRoleId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                ":workspace",
                                "rbac",
                                "roles",
                                ":RBACRoleId"
                              ],
                              "variable": [
                                {
                                  "key": "workspace"
                                },
                                {
                                  "key": "RBACRoleId"
                                }
                              ]
                            }
                          },
                          "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:38.000Z",
                          "updatedAt": "2026-07-28T02:05:38.000Z",
                          "uid": "35240-b74f090c-d9eb-424d-b348-3d3d55aa592a"
                        }
                      ],
                      "createdAt": "2026-07-28T02:05:38.000Z",
                      "updatedAt": "2026-07-28T02:05:38.000Z",
                      "uid": "35240-18503d19-4c98-4df1-8a29-0e098c3acfe2"
                    },
                    {
                      "name": "Get a RBAC Role",
                      "id": "fd89788a-84c1-4543-b95e-a1f75f3e0c75",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/:workspace/rbac/roles/:RBACRoleId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            ":workspace",
                            "rbac",
                            "roles",
                            ":RBACRoleId"
                          ],
                          "variable": [
                            {
                              "id": "e38cd68c-46b3-42cd-b6c3-24cdb2a0138e",
                              "key": "workspace",
                              "value": "default",
                              "description": "(Required) The name of the workspace"
                            },
                            {
                              "id": "47faf6f6-df35-4afe-ad6d-8688adda14bb",
                              "key": "RBACRoleId",
                              "value": "<string>",
                              "description": "(Required) ID of the RBAC Role to lookup"
                            }
                          ]
                        },
                        "description": "Get a RBAC Role using ID."
                      },
                      "response": [
                        {
                          "id": "2cd2aa3c-0f52-4897-90c0-b1c0b62ee63d",
                          "name": "Successfully fetched RBAC Role",
                          "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/:RBACRoleId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                ":workspace",
                                "rbac",
                                "roles",
                                ":RBACRoleId"
                              ],
                              "variable": [
                                {
                                  "key": "workspace"
                                },
                                {
                                  "key": "RBACRoleId"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"name\": \"<string>\",\n  \"comment\": \"<string>\",\n  \"created_at\": \"<integer>\",\n  \"id\": \"<string>\",\n  \"is_default\": false,\n  \"updated_at\": \"<integer>\"\n}",
                          "createdAt": "2026-07-28T02:05:38.000Z",
                          "updatedAt": "2026-07-28T02:05:38.000Z",
                          "uid": "35240-2cd2aa3c-0f52-4897-90c0-b1c0b62ee63d"
                        },
                        {
                          "id": "cf5bd3fb-8b00-485a-98c8-f0ece52e0b15",
                          "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/:RBACRoleId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                ":workspace",
                                "rbac",
                                "roles",
                                ":RBACRoleId"
                              ],
                              "variable": [
                                {
                                  "key": "workspace"
                                },
                                {
                                  "key": "RBACRoleId"
                                }
                              ]
                            }
                          },
                          "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:38.000Z",
                          "updatedAt": "2026-07-28T02:05:38.000Z",
                          "uid": "35240-cf5bd3fb-8b00-485a-98c8-f0ece52e0b15"
                        },
                        {
                          "id": "e1330bfc-09a6-4e71-9d22-de792b2a278c",
                          "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/:RBACRoleId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                ":workspace",
                                "rbac",
                                "roles",
                                ":RBACRoleId"
                              ],
                              "variable": [
                                {
                                  "key": "workspace"
                                },
                                {
                                  "key": "RBACRoleId"
                                }
                              ]
                            }
                          },
                          "status": "Not Found",
                          "code": 404,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T02:05:38.000Z",
                          "updatedAt": "2026-07-28T02:05:38.000Z",
                          "uid": "35240-e1330bfc-09a6-4e71-9d22-de792b2a278c"
                        }
                      ],
                      "createdAt": "2026-07-28T02:05:38.000Z",
                      "updatedAt": "2026-07-28T02:05:38.000Z",
                      "uid": "35240-fd89788a-84c1-4543-b95e-a1f75f3e0c75"
                    },
                    {
                      "name": "Upsert a RBAC Role",
                      "id": "ac69f1f2-f8c8-4dc0-860b-21afc6a5d564",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "PUT",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"name\": \"<string>\",\n  \"comment\": \"<string>\",\n  \"created_at\": \"<integer>\",\n  \"id\": \"<string>\",\n  \"is_default\": false,\n  \"updated_at\": \"<integer>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/:workspace/rbac/roles/:RBACRoleId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            ":workspace",
                            "rbac",
                            "roles",
                            ":RBACRoleId"
                          ],
                          "variable": [
                            {
                              "id": "c5636a25-d310-4f5a-9e7d-4aa9b2764a3c",
                              "key": "workspace",
                              "value": "default",
                              "description": "(Required) The name of the workspace"
                            },
                            {
                              "id": "cb777d1d-99e2-4891-94b5-6daef7fa4369",
                              "key": "RBACRoleId",
                              "value": "<string>",
                              "description": "(Required) ID of the RBAC Role to lookup"
                            }
                          ]
                        },
                        "description": "Create or Update RBAC Role using ID."
                      },
                      "response": [
                        {
                          "id": "5324b15f-ade9-4d6f-8364-9299e497c067",
                          "name": "Successfully upserted RBAC Role",
                          "originalRequest": {
                            "method": "PUT",
                            "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  \"name\": \"<string>\",\n  \"comment\": \"<string>\",\n  \"created_at\": \"<integer>\",\n  \"id\": \"<string>\",\n  \"is_default\": false,\n  \"updated_at\": \"<integer>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/:workspace/rbac/roles/:RBACRoleId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                ":workspace",
                                "rbac",
                                "roles",
                                ":RBACRoleId"
                              ],
                              "variable": [
                                {
                                  "key": "workspace"
                                },
                                {
                                  "key": "RBACRoleId"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"name\": \"<string>\",\n  \"comment\": \"<string>\",\n  \"created_at\": \"<integer>\",\n  \"id\": \"<string>\",\n  \"is_default\": false,\n  \"updated_at\": \"<integer>\"\n}",
                          "createdAt": "2026-07-28T02:05:38.000Z",
                          "updatedAt": "2026-07-28T02:05:38.000Z",
                          "uid": "35240-5324b15f-ade9-4d6f-8364-9299e497c067"
                        },
                        {
                          "id": "539eeffc-34b3-4651-a384-ed07f59f0775",
                          "name": "Unauthorized",
                          "originalRequest": {
                            "method": "PUT",
                            "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  \"name\": \"<string>\",\n  \"comment\": \"<string>\",\n  \"created_at\": \"<integer>\",\n  \"id\": \"<string>\",\n  \"is_default\": false,\n  \"updated_at\": \"<integer>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/:workspace/rbac/roles/:RBACRoleId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                ":workspace",
                                "rbac",
                                "roles",
                                ":RBACRoleId"
                              ],
                              "variable": [
                                {
                                  "key": "workspace"
                                },
                                {
                                  "key": "RBACRoleId"
                                }
                              ]
                            }
                          },
                          "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:38.000Z",
                          "updatedAt": "2026-07-28T02:05:38.000Z",
                          "uid": "35240-539eeffc-34b3-4651-a384-ed07f59f0775"
                        }
                      ],
                      "createdAt": "2026-07-28T02:05:38.000Z",
                      "updatedAt": "2026-07-28T02:05:38.000Z",
                      "uid": "35240-ac69f1f2-f8c8-4dc0-860b-21afc6a5d564"
                    }
                  ],
                  "id": "36d3f366-67ce-43e0-9269-62ec75533edc",
                  "createdAt": "2026-07-28T02:05:38.000Z",
                  "updatedAt": "2026-07-28T02:05:38.000Z",
                  "uid": "35240-36d3f366-67ce-43e0-9269-62ec75533edc"
                },
                {
                  "name": "Create a new RBAC Role",
                  "id": "35d52094-65de-4e66-9824-74b89d5347c8",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"name\": \"<string>\",\n  \"comment\": \"<string>\",\n  \"created_at\": \"<integer>\",\n  \"id\": \"<string>\",\n  \"is_default\": false,\n  \"updated_at\": \"<integer>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/:workspace/rbac/roles",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        ":workspace",
                        "rbac",
                        "roles"
                      ],
                      "variable": [
                        {
                          "id": "baed8b22-2cae-4092-91c7-5e626090c0b4",
                          "key": "workspace",
                          "value": "default",
                          "description": "(Required) The name of the workspace"
                        }
                      ]
                    },
                    "description": "Create a new RBAC Role"
                  },
                  "response": [
                    {
                      "id": "f157fa61-9b73-48f5-a4c4-4a0d2a0c0d3c",
                      "name": "Successfully created RBAC Role",
                      "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  \"name\": \"<string>\",\n  \"comment\": \"<string>\",\n  \"created_at\": \"<integer>\",\n  \"id\": \"<string>\",\n  \"is_default\": false,\n  \"updated_at\": \"<integer>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/:workspace/rbac/roles",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            ":workspace",
                            "rbac",
                            "roles"
                          ],
                          "variable": [
                            {
                              "key": "workspace"
                            }
                          ]
                        }
                      },
                      "status": "Created",
                      "code": 201,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"name\": \"<string>\",\n  \"comment\": \"<string>\",\n  \"created_at\": \"<integer>\",\n  \"id\": \"<string>\",\n  \"is_default\": false,\n  \"updated_at\": \"<integer>\"\n}",
                      "createdAt": "2026-07-28T02:05:38.000Z",
                      "updatedAt": "2026-07-28T02:05:38.000Z",
                      "uid": "35240-f157fa61-9b73-48f5-a4c4-4a0d2a0c0d3c"
                    },
                    {
                      "id": "a8fcef19-b7ea-468d-bb2d-43d07a48afd7",
                      "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  \"name\": \"<string>\",\n  \"comment\": \"<string>\",\n  \"created_at\": \"<integer>\",\n  \"id\": \"<string>\",\n  \"is_default\": false,\n  \"updated_at\": \"<integer>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/:workspace/rbac/roles",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            ":workspace",
                            "rbac",
                            "roles"
                          ],
                          "variable": [
                            {
                              "key": "workspace"
                            }
                          ]
                        }
                      },
                      "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:38.000Z",
                      "updatedAt": "2026-07-28T02:05:38.000Z",
                      "uid": "35240-a8fcef19-b7ea-468d-bb2d-43d07a48afd7"
                    }
                  ],
                  "createdAt": "2026-07-28T02:05:38.000Z",
                  "updatedAt": "2026-07-28T02:05:38.000Z",
                  "uid": "35240-35d52094-65de-4e66-9824-74b89d5347c8"
                }
              ],
              "id": "30960681-6651-4958-9921-d6165df6139b",
              "createdAt": "2026-07-28T02:05:38.000Z",
              "updatedAt": "2026-07-28T02:05:38.000Z",
              "uid": "35240-30960681-6651-4958-9921-d6165df6139b"
            }
          ],
          "id": "01601455-7a4e-46e2-a5da-b086e1ee410e",
          "createdAt": "2026-07-28T02:05:38.000Z",
          "updatedAt": "2026-07-28T02:05:38.000Z",
          "uid": "35240-01601455-7a4e-46e2-a5da-b086e1ee410e"
        }
      ],
      "id": "d55ea0dc-d187-46f6-8405-78c1096fef42",
      "createdAt": "2026-07-28T02:05:38.000Z",
      "updatedAt": "2026-07-28T02:05:38.000Z",
      "uid": "35240-d55ea0dc-d187-46f6-8405-78c1096fef42"
    }
  ],
  "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}}"
    }
  ]
}