{
  "info": {
    "_postman_id": "9990e0cb-9642-491b-83c9-77f405715597",
    "name": "Kong Enterprise Admin ACLs RBACUserRoles 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:42.000Z",
    "updatedAt": "2026-07-28T02:05:42.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-9990e0cb-9642-491b-83c9-77f405715597"
  },
  "item": [
    {
      "name": "{workspace}",
      "item": [
        {
          "name": "rbac",
          "item": [
            {
              "name": "users",
              "item": [
                {
                  "name": "{RBACUserIdForNestedEntities}",
                  "item": [
                    {
                      "name": "roles",
                      "item": [
                        {
                          "name": "Delete a RBAC User Role",
                          "id": "784e27c5-12f8-4e6f-9321-f34ac4508c88",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "DELETE",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"role\": \"sint laborum tempor deserunt\",\n  \"role_source\": \"local\",\n  \"user\": {\n    \"id\": \"<string>\"\n  },\n  \"user_id\": \"<string>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/:workspace/rbac/users/:RBACUserIdForNestedEntities/roles",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                ":workspace",
                                "rbac",
                                "users",
                                ":RBACUserIdForNestedEntities",
                                "roles"
                              ],
                              "variable": [
                                {
                                  "id": "f8526c45-6421-44b7-8e52-c1c367c3a461",
                                  "key": "workspace",
                                  "value": "default",
                                  "description": "(Required) The name of the workspace"
                                },
                                {
                                  "id": "81542153-736f-414c-b8ab-ad590c1ae9d0",
                                  "key": "RBACUserIdForNestedEntities",
                                  "value": "<string>",
                                  "description": "(Required) ID of the RBAC User to lookup"
                                }
                              ]
                            },
                            "description": "Delete a RBAC User Role"
                          },
                          "response": [
                            {
                              "id": "c9ec67bc-a32a-488b-b4c3-7caa2a0c41d6",
                              "name": "Successfully deleted RBAC User Role or the resource didn't exist",
                              "originalRequest": {
                                "method": "DELETE",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: apikey",
                                    "key": "Kong-Admin-Token",
                                    "value": "<API Key>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"role\": \"sint laborum tempor deserunt\",\n  \"role_source\": \"local\",\n  \"user\": {\n    \"id\": \"<string>\"\n  },\n  \"user_id\": \"<string>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/:workspace/rbac/users/:RBACUserIdForNestedEntities/roles",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    ":workspace",
                                    "rbac",
                                    "users",
                                    ":RBACUserIdForNestedEntities",
                                    "roles"
                                  ],
                                  "variable": [
                                    {
                                      "key": "workspace"
                                    },
                                    {
                                      "key": "RBACUserIdForNestedEntities"
                                    }
                                  ]
                                }
                              },
                              "status": "No Content",
                              "code": 204,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-07-28T02:05:42.000Z",
                              "updatedAt": "2026-07-28T02:05:42.000Z",
                              "uid": "35240-c9ec67bc-a32a-488b-b4c3-7caa2a0c41d6"
                            },
                            {
                              "id": "7d1161a2-fb73-4794-a128-18a5baff82f4",
                              "name": "Unauthorized",
                              "originalRequest": {
                                "method": "DELETE",
                                "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  \"role\": \"sint laborum tempor deserunt\",\n  \"role_source\": \"local\",\n  \"user\": {\n    \"id\": \"<string>\"\n  },\n  \"user_id\": \"<string>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/:workspace/rbac/users/:RBACUserIdForNestedEntities/roles",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    ":workspace",
                                    "rbac",
                                    "users",
                                    ":RBACUserIdForNestedEntities",
                                    "roles"
                                  ],
                                  "variable": [
                                    {
                                      "key": "workspace"
                                    },
                                    {
                                      "key": "RBACUserIdForNestedEntities"
                                    }
                                  ]
                                }
                              },
                              "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:42.000Z",
                              "updatedAt": "2026-07-28T02:05:42.000Z",
                              "uid": "35240-7d1161a2-fb73-4794-a128-18a5baff82f4"
                            }
                          ],
                          "createdAt": "2026-07-28T02:05:42.000Z",
                          "updatedAt": "2026-07-28T02:05:42.000Z",
                          "uid": "35240-784e27c5-12f8-4e6f-9321-f34ac4508c88"
                        },
                        {
                          "name": "Create a new RBAC User Role",
                          "id": "53bfb1bc-2491-4707-a43a-964e47e0ed55",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"role\": \"sint laborum tempor deserunt\",\n  \"role_source\": \"local\",\n  \"user\": {\n    \"id\": \"<string>\"\n  },\n  \"user_id\": \"<string>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/:workspace/rbac/users/:RBACUserIdForNestedEntities/roles",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                ":workspace",
                                "rbac",
                                "users",
                                ":RBACUserIdForNestedEntities",
                                "roles"
                              ],
                              "variable": [
                                {
                                  "id": "57cff230-d94c-407e-8999-2d48b52d9841",
                                  "key": "workspace",
                                  "value": "default",
                                  "description": "(Required) The name of the workspace"
                                },
                                {
                                  "id": "c22c3905-7b22-497a-8202-88045bd15b1d",
                                  "key": "RBACUserIdForNestedEntities",
                                  "value": "<string>",
                                  "description": "(Required) ID of the RBAC User to lookup"
                                }
                              ]
                            },
                            "description": "Create a new RBAC User Role"
                          },
                          "response": [
                            {
                              "id": "1fcef1ef-11c4-4779-96bf-f8f63f9ca1e3",
                              "name": "Successfully created RBAC User 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  \"role\": \"sint laborum tempor deserunt\",\n  \"role_source\": \"local\",\n  \"user\": {\n    \"id\": \"<string>\"\n  },\n  \"user_id\": \"<string>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/:workspace/rbac/users/:RBACUserIdForNestedEntities/roles",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    ":workspace",
                                    "rbac",
                                    "users",
                                    ":RBACUserIdForNestedEntities",
                                    "roles"
                                  ],
                                  "variable": [
                                    {
                                      "key": "workspace"
                                    },
                                    {
                                      "key": "RBACUserIdForNestedEntities"
                                    }
                                  ]
                                }
                              },
                              "status": "Created",
                              "code": 201,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"role\": \"sint laborum tempor deserunt\",\n  \"role_source\": \"local\",\n  \"user\": {\n    \"id\": \"<string>\"\n  },\n  \"user_id\": \"<string>\"\n}",
                              "createdAt": "2026-07-28T02:05:42.000Z",
                              "updatedAt": "2026-07-28T02:05:42.000Z",
                              "uid": "35240-1fcef1ef-11c4-4779-96bf-f8f63f9ca1e3"
                            },
                            {
                              "id": "da28b54a-1df6-4a7e-a020-7188dd7c6eed",
                              "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  \"role\": \"sint laborum tempor deserunt\",\n  \"role_source\": \"local\",\n  \"user\": {\n    \"id\": \"<string>\"\n  },\n  \"user_id\": \"<string>\"\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/:workspace/rbac/users/:RBACUserIdForNestedEntities/roles",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    ":workspace",
                                    "rbac",
                                    "users",
                                    ":RBACUserIdForNestedEntities",
                                    "roles"
                                  ],
                                  "variable": [
                                    {
                                      "key": "workspace"
                                    },
                                    {
                                      "key": "RBACUserIdForNestedEntities"
                                    }
                                  ]
                                }
                              },
                              "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:42.000Z",
                              "updatedAt": "2026-07-28T02:05:42.000Z",
                              "uid": "35240-da28b54a-1df6-4a7e-a020-7188dd7c6eed"
                            }
                          ],
                          "createdAt": "2026-07-28T02:05:42.000Z",
                          "updatedAt": "2026-07-28T02:05:42.000Z",
                          "uid": "35240-53bfb1bc-2491-4707-a43a-964e47e0ed55"
                        }
                      ],
                      "id": "5cac174b-4f75-44b5-aa5a-a4b83c9db57f",
                      "createdAt": "2026-07-28T02:05:42.000Z",
                      "updatedAt": "2026-07-28T02:05:42.000Z",
                      "uid": "35240-5cac174b-4f75-44b5-aa5a-a4b83c9db57f"
                    }
                  ],
                  "id": "b6fcf88d-0790-42b2-9c0a-5407949c9064",
                  "createdAt": "2026-07-28T02:05:42.000Z",
                  "updatedAt": "2026-07-28T02:05:42.000Z",
                  "uid": "35240-b6fcf88d-0790-42b2-9c0a-5407949c9064"
                }
              ],
              "id": "9682b5f4-299f-4803-86c6-d06a6a33d8b9",
              "createdAt": "2026-07-28T02:05:42.000Z",
              "updatedAt": "2026-07-28T02:05:42.000Z",
              "uid": "35240-9682b5f4-299f-4803-86c6-d06a6a33d8b9"
            }
          ],
          "id": "a2dc7c99-874c-4316-b163-22fd9d5b4124",
          "createdAt": "2026-07-28T02:05:42.000Z",
          "updatedAt": "2026-07-28T02:05:42.000Z",
          "uid": "35240-a2dc7c99-874c-4316-b163-22fd9d5b4124"
        }
      ],
      "id": "07abf2d3-789c-4541-8fa6-a6889ef72f45",
      "createdAt": "2026-07-28T02:05:42.000Z",
      "updatedAt": "2026-07-28T02:05:42.000Z",
      "uid": "35240-07abf2d3-789c-4541-8fa6-a6889ef72f45"
    }
  ],
  "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}}"
    }
  ]
}