{ "info": { "_postman_id": "6e0c2768-759e-4496-b02c-d7d601f39a92", "name": "Unkey analytics permissions API", "description": "Unkey's API provides programmatic access for all resources within our platform.\n\n\n### Authentication\n#\nThis API uses HTTP Bearer authentication with root keys. Most endpoints require specific permissions associated with your root key. When making requests, include your root key in the `Authorization` header:\n```\nAuthorization: Bearer unkey_xxxxxxxxxxx\n```\n\nAll responses follow a consistent envelope structure that separates operational metadata from actual data. This design provides several benefits:\n- Debugging: Every response includes a unique requestId for tracing issues\n- Consistency: Predictable response format across all endpoints\n- Extensibility: Easy to add new metadata without breaking existing integrations\n- Error Handling: Unified error format with actionable information\n\n### Success Response Format:\n```json\n{\n \"meta\": {\n \"requestId\": \"req_123456\"\n },\n \"data\": {\n // Actual response data here\n }\n}\n```\n\nThe meta object contains operational information:\n- `requestId`: Unique identifier for this request (essential for support)\n\nThe data object contains the actual response data specific to each endpoint.\n\n### Paginated Response Format:\n```json\n{\n \"meta\": {\n \"requestId\": \"req_123456\"\n },\n \"data\": [\n // Array of results\n ],\n \"pagination\": {\n \"cursor\": \"next_page_token\",\n \"hasMore\": true\n }\n}\n```\n\nThe pagination object appears on list endpoints and contains:\n- `cursor`: Token for requesting the next page\n- `hasMore`: Whether more results are available\n\n### Error Response Format:\n```json\n{\n \"meta\": {\n \"requestId\": \"req_2c9a0jf23l4k567\"\n },\n \"error\": {\n \"detail\": \"The resource you are attempting to modify is protected and cannot be changed\",\n \"status\": 403,\n \"title\": \"Forbidden\",\n \"type\": \"https://unkey.com/docs/errors/unkey/application/protected_resource\"\n }\n}\n```\n\nError responses include comprehensive diagnostic information:\n- `title`: Human-readable error summary\n- `detail`: Specific description of what went wrong\n- `status`: HTTP status code\n- `type`: Link to error documentation\n- `errors`: Array of validation errors (for 400 responses)\n\nThis structure ensures you always have the context needed to debug issues and take corrective action.", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "createdAt": "2026-07-28T03:23:26.000Z", "updatedAt": "2026-07-28T03:23:26.000Z", "lastUpdatedBy": "35240", "uid": "35240-6e0c2768-759e-4496-b02c-d7d601f39a92" }, "item": [ { "name": "v2", "item": [ { "name": "permissions.createPermission", "item": [ { "name": "Create Permission", "id": "8683c107-87ca-4208-ae2e-f1c1d40e6d24", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"\",\n \"slug\": \"btDbEb\",\n \"description\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.createPermission", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.createPermission" ] }, "description": "Create a new permission to define specific actions or capabilities in your RBAC system. Permissions can be assigned directly to API keys or included in roles.\n\nUse hierarchical naming patterns like `documents.read`, `admin.users.delete`, or `billing.invoices.create` for clear organization.\n\n**Important:** Permission names must be unique within the workspace. Once created, permissions are immediately available for assignment.\n\n**Required Permissions**\n\nYour root key must have the following permission:\n- `rbac.*.create_permission`\n" }, "response": [ { "id": "b7e049bb-4b60-4071-949e-201652b87054", "name": "Permission created successfully", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"\",\n \"slug\": \"btDbEb\",\n \"description\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.createPermission", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.createPermission" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"data\": {\n \"permissionId\": \"UIMIx\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-b7e049bb-4b60-4071-949e-201652b87054" }, { "id": "40db6f6a-4091-464c-b3c2-a199ac04564a", "name": "Bad Request", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"\",\n \"slug\": \"btDbEb\",\n \"description\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.createPermission", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.createPermission" ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"detail\": \"\",\n \"errors\": [\n {\n \"location\": \"\",\n \"message\": \"\",\n \"fix\": \"\"\n },\n {\n \"location\": \"\",\n \"message\": \"\",\n \"fix\": \"\"\n }\n ],\n \"status\": \"\",\n \"title\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-40db6f6a-4091-464c-b3c2-a199ac04564a" }, { "id": "71a70efe-1c0b-4e5a-98a1-a5c7c259f010", "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: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"\",\n \"slug\": \"btDbEb\",\n \"description\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.createPermission", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.createPermission" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-71a70efe-1c0b-4e5a-98a1-a5c7c259f010" }, { "id": "79f00ba0-8e43-4b40-a82c-9104af6c5555", "name": "Forbidden", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"\",\n \"slug\": \"btDbEb\",\n \"description\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.createPermission", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.createPermission" ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-79f00ba0-8e43-4b40-a82c-9104af6c5555" }, { "id": "0ad0e89e-c2fa-4a5f-8974-1d656d75a533", "name": "Conflict - permission with that name already exists", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"\",\n \"slug\": \"btDbEb\",\n \"description\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.createPermission", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.createPermission" ] } }, "status": "Conflict", "code": 409, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-0ad0e89e-c2fa-4a5f-8974-1d656d75a533" }, { "id": "214bf7d1-e1c7-45bd-bc27-8ebd6c5c47f6", "name": "Too Many Requests", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/problem+json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"\",\n \"slug\": \"btDbEb\",\n \"description\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.createPermission", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.createPermission" ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/problem+json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-214bf7d1-e1c7-45bd-bc27-8ebd6c5c47f6" }, { "id": "f12186f2-0444-460b-af8a-f4cc739a2a8a", "name": "Internal Server Error", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"\",\n \"slug\": \"btDbEb\",\n \"description\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.createPermission", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.createPermission" ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-f12186f2-0444-460b-af8a-f4cc739a2a8a" } ], "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-8683c107-87ca-4208-ae2e-f1c1d40e6d24" } ], "id": "b7f023c3-294d-471d-973b-1c291206c911", "createdAt": "2026-07-28T03:23:26.000Z", "updatedAt": "2026-07-28T03:23:26.000Z", "uid": "35240-b7f023c3-294d-471d-973b-1c291206c911" }, { "name": "permissions.createRole", "item": [ { "name": "Create Role", "id": "d274e108-5f77-42e7-a6b3-7438d28f55ec", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"S_Rt\",\n \"description\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.createRole", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.createRole" ] }, "description": "Create a new role to group related permissions for easier management. Roles enable consistent permission assignment across multiple API keys.\n\n**Important:** Role names must be unique within the workspace. Once created, roles are immediately available for assignment.\n\n**Required Permissions**\n\nYour root key must have the following permission:\n- `rbac.*.create_role`\n" }, "response": [ { "id": "0c804482-3a12-45bb-9088-1da25a82fd70", "name": "Role created successfully", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"S_Rt\",\n \"description\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.createRole", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.createRole" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"data\": {\n \"roleId\": \"A7s14\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-0c804482-3a12-45bb-9088-1da25a82fd70" }, { "id": "1c713db2-29bf-4319-9690-f9ae8a73b8cd", "name": "Bad Request", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"S_Rt\",\n \"description\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.createRole", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.createRole" ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"detail\": \"\",\n \"errors\": [\n {\n \"location\": \"\",\n \"message\": \"\",\n \"fix\": \"\"\n },\n {\n \"location\": \"\",\n \"message\": \"\",\n \"fix\": \"\"\n }\n ],\n \"status\": \"\",\n \"title\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-1c713db2-29bf-4319-9690-f9ae8a73b8cd" }, { "id": "5fa966f9-bad2-44e2-9fda-10b484a58d16", "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: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"S_Rt\",\n \"description\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.createRole", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.createRole" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-5fa966f9-bad2-44e2-9fda-10b484a58d16" }, { "id": "5e9d1747-26ee-40b4-9a60-ededd1c92fc9", "name": "Forbidden", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"S_Rt\",\n \"description\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.createRole", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.createRole" ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-5e9d1747-26ee-40b4-9a60-ededd1c92fc9" }, { "id": "4c856aef-1e0d-4faa-93d5-f8879e69911f", "name": "Conflict - A role with this name already exists", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"S_Rt\",\n \"description\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.createRole", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.createRole" ] } }, "status": "Conflict", "code": 409, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-4c856aef-1e0d-4faa-93d5-f8879e69911f" }, { "id": "c8db51fb-2f95-431e-8cf2-c31cef278f3f", "name": "Too Many Requests", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/problem+json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"S_Rt\",\n \"description\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.createRole", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.createRole" ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/problem+json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-c8db51fb-2f95-431e-8cf2-c31cef278f3f" }, { "id": "da546709-0a1d-4878-9f00-cf6176edd0a4", "name": "Internal Server Error", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"S_Rt\",\n \"description\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.createRole", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.createRole" ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-da546709-0a1d-4878-9f00-cf6176edd0a4" } ], "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-d274e108-5f77-42e7-a6b3-7438d28f55ec" } ], "id": "609a230f-f5a2-4d28-bbdd-a7617df6db56", "createdAt": "2026-07-28T03:23:26.000Z", "updatedAt": "2026-07-28T03:23:26.000Z", "uid": "35240-609a230f-f5a2-4d28-bbdd-a7617df6db56" }, { "name": "permissions.deletePermission", "item": [ { "name": "Delete Permission", "id": "be6227ce-f9fe-4a7f-8bc2-18f1a2ac496c", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"permission\": \"eSck\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.deletePermission", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.deletePermission" ] }, "description": "Remove a permission from your workspace. This also removes the permission from all API keys and roles.\n\n**Important:** This operation cannot be undone and immediately affects all API keys and roles that had this permission assigned.\n\n**Required Permissions**\n\nYour root key must have the following permission:\n- `rbac.*.delete_permission`\n" }, "response": [ { "id": "5c8c6deb-d79d-4d6d-b0aa-ac4c882f50a2", "name": "Permission deleted successfully", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"permission\": \"eSck\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.deletePermission", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.deletePermission" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"data\": {}\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-5c8c6deb-d79d-4d6d-b0aa-ac4c882f50a2" }, { "id": "9a69f36f-a213-4e3d-9ce5-607ef327d81b", "name": "Bad Request", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"permission\": \"eSck\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.deletePermission", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.deletePermission" ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"detail\": \"\",\n \"errors\": [\n {\n \"location\": \"\",\n \"message\": \"\",\n \"fix\": \"\"\n },\n {\n \"location\": \"\",\n \"message\": \"\",\n \"fix\": \"\"\n }\n ],\n \"status\": \"\",\n \"title\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-9a69f36f-a213-4e3d-9ce5-607ef327d81b" }, { "id": "db9f5bb0-c048-48bf-937d-9c2144916733", "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: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"permission\": \"eSck\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.deletePermission", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.deletePermission" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-db9f5bb0-c048-48bf-937d-9c2144916733" }, { "id": "bd1571f3-90eb-406d-8b6e-46a446e9641c", "name": "Forbidden", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"permission\": \"eSck\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.deletePermission", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.deletePermission" ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-bd1571f3-90eb-406d-8b6e-46a446e9641c" }, { "id": "7547f4f1-34ce-489b-ac36-e02a34ee637b", "name": "Not Found - The specified permission does not exist", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"permission\": \"eSck\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.deletePermission", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.deletePermission" ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-7547f4f1-34ce-489b-ac36-e02a34ee637b" }, { "id": "3d21099c-c6e9-42ac-8167-15561e23b403", "name": "Too Many Requests", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/problem+json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"permission\": \"eSck\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.deletePermission", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.deletePermission" ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/problem+json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-3d21099c-c6e9-42ac-8167-15561e23b403" }, { "id": "ee812c14-496f-4311-86a3-396a02f5ca2e", "name": "Internal Server Error", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"permission\": \"eSck\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.deletePermission", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.deletePermission" ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-ee812c14-496f-4311-86a3-396a02f5ca2e" } ], "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-be6227ce-f9fe-4a7f-8bc2-18f1a2ac496c" } ], "id": "809351d4-08c6-4b34-850b-22d7bfce5ae4", "createdAt": "2026-07-28T03:23:26.000Z", "updatedAt": "2026-07-28T03:23:26.000Z", "uid": "35240-809351d4-08c6-4b34-850b-22d7bfce5ae4" }, { "name": "permissions.deleteRole", "item": [ { "name": "Delete Role", "id": "d4f7844e-5de6-471d-baf7-dc1a047730a5", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"role\": \"LLLL\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.deleteRole", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.deleteRole" ] }, "description": "Remove a role from your workspace. This also removes the role from all assigned API keys.\n\n**Important:** This operation cannot be undone and immediately affects all API keys that had this role assigned.\n\n**Required Permissions**\n\nYour root key must have the following permission:\n- `rbac.*.delete_role`\n" }, "response": [ { "id": "c3f82b30-b3a1-42ab-8e26-11d393cc0c1f", "name": "Role deleted successfully", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"role\": \"LLLL\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.deleteRole", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.deleteRole" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"data\": {}\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-c3f82b30-b3a1-42ab-8e26-11d393cc0c1f" }, { "id": "17c71be8-be5e-4052-93dc-394a2bfe90cd", "name": "Bad Request", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"role\": \"LLLL\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.deleteRole", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.deleteRole" ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"detail\": \"\",\n \"errors\": [\n {\n \"location\": \"\",\n \"message\": \"\",\n \"fix\": \"\"\n },\n {\n \"location\": \"\",\n \"message\": \"\",\n \"fix\": \"\"\n }\n ],\n \"status\": \"\",\n \"title\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-17c71be8-be5e-4052-93dc-394a2bfe90cd" }, { "id": "7e677319-46d1-4093-b83a-224d8220035c", "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: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"role\": \"LLLL\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.deleteRole", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.deleteRole" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-7e677319-46d1-4093-b83a-224d8220035c" }, { "id": "459b8f88-4b56-4e73-b115-c9e54ffac4aa", "name": "Forbidden", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"role\": \"LLLL\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.deleteRole", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.deleteRole" ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-459b8f88-4b56-4e73-b115-c9e54ffac4aa" }, { "id": "4d3b82a8-a6db-4791-be01-991a2a0f2ba2", "name": "Too Many Requests", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/problem+json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"role\": \"LLLL\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.deleteRole", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.deleteRole" ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/problem+json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-4d3b82a8-a6db-4791-be01-991a2a0f2ba2" }, { "id": "dcdaef46-d2f0-4ff1-9277-d084cec809ec", "name": "Internal Server Error", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"role\": \"LLLL\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.deleteRole", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.deleteRole" ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-dcdaef46-d2f0-4ff1-9277-d084cec809ec" } ], "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-d4f7844e-5de6-471d-baf7-dc1a047730a5" } ], "id": "28b5d693-b418-4249-8649-c3024b6374d5", "createdAt": "2026-07-28T03:23:26.000Z", "updatedAt": "2026-07-28T03:23:26.000Z", "uid": "35240-28b5d693-b418-4249-8649-c3024b6374d5" }, { "name": "permissions.getPermission", "item": [ { "name": "Get Permission", "id": "8e006648-1d1c-4ae1-b597-51221ffe6a92", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"permission\": \"EsPb\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.getPermission", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.getPermission" ] }, "description": "Retrieve details about a specific permission including its name, description, and metadata.\n\n**Required Permissions**\n\nYour root key must have the following permission:\n- `rbac.*.read_permission`\n" }, "response": [ { "id": "1399156c-1e0c-4d1e-9d1d-5c770b476c40", "name": "Permission retrieved successfully", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"permission\": \"EsPb\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.getPermission", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.getPermission" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"data\": {\n \"id\": \"m3t8\",\n \"name\": \"\",\n \"slug\": \"n_Z.\",\n \"description\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-1399156c-1e0c-4d1e-9d1d-5c770b476c40" }, { "id": "1ce7ae10-9b99-4f99-be53-97d7900aa314", "name": "Bad Request", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"permission\": \"EsPb\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.getPermission", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.getPermission" ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"detail\": \"\",\n \"errors\": [\n {\n \"location\": \"\",\n \"message\": \"\",\n \"fix\": \"\"\n },\n {\n \"location\": \"\",\n \"message\": \"\",\n \"fix\": \"\"\n }\n ],\n \"status\": \"\",\n \"title\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-1ce7ae10-9b99-4f99-be53-97d7900aa314" }, { "id": "88c59a61-2ba8-4d61-ad3b-f3fad5758d22", "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: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"permission\": \"EsPb\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.getPermission", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.getPermission" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-88c59a61-2ba8-4d61-ad3b-f3fad5758d22" }, { "id": "96e5870e-ad0d-4dab-bc20-1feef3041cbe", "name": "Forbidden", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"permission\": \"EsPb\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.getPermission", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.getPermission" ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-96e5870e-ad0d-4dab-bc20-1feef3041cbe" }, { "id": "eb188451-45a1-4eeb-9bc4-7dbe1033f9e6", "name": "Not Found", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"permission\": \"EsPb\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.getPermission", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.getPermission" ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-eb188451-45a1-4eeb-9bc4-7dbe1033f9e6" }, { "id": "8a1a65ca-db97-435b-b42d-6c2f77b8db07", "name": "Too Many Requests", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/problem+json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"permission\": \"EsPb\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.getPermission", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.getPermission" ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/problem+json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-8a1a65ca-db97-435b-b42d-6c2f77b8db07" }, { "id": "871201c9-3049-4222-84fd-94f4eb0130d2", "name": "Internal Server Error", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"permission\": \"EsPb\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.getPermission", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.getPermission" ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-871201c9-3049-4222-84fd-94f4eb0130d2" } ], "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-8e006648-1d1c-4ae1-b597-51221ffe6a92" } ], "id": "50722693-d96c-451e-a7ba-d8c76ca855e6", "createdAt": "2026-07-28T03:23:26.000Z", "updatedAt": "2026-07-28T03:23:26.000Z", "uid": "35240-50722693-d96c-451e-a7ba-d8c76ca855e6" }, { "name": "permissions.getRole", "item": [ { "name": "Get Role", "id": "67166223-66fe-4300-9ddb-49f6720486ff", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"role\": \"PRU2Jz\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.getRole", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.getRole" ] }, "description": "Retrieve details about a specific role including its assigned permissions.\n\n**Required Permissions**\n\nYour root key must have the following permission:\n- `rbac.*.read_role`\n" }, "response": [ { "id": "560f9f85-56f5-42a4-b636-8a04ff13174c", "name": "Role retrieved successfully", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"role\": \"PRU2Jz\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.getRole", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.getRole" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"data\": {\n \"id\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"permissions\": [\n {\n \"id\": \"OQKisvenfM\",\n \"name\": \"\",\n \"slug\": \"m.a_c:\",\n \"description\": \"\"\n },\n {\n \"id\": \"2222\",\n \"name\": \"\",\n \"slug\": \"vUq\",\n \"description\": \"\"\n }\n ]\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-560f9f85-56f5-42a4-b636-8a04ff13174c" }, { "id": "d168c487-1d41-4583-9f82-c570dd99189b", "name": "Bad Request", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"role\": \"PRU2Jz\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.getRole", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.getRole" ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"detail\": \"\",\n \"errors\": [\n {\n \"location\": \"\",\n \"message\": \"\",\n \"fix\": \"\"\n },\n {\n \"location\": \"\",\n \"message\": \"\",\n \"fix\": \"\"\n }\n ],\n \"status\": \"\",\n \"title\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-d168c487-1d41-4583-9f82-c570dd99189b" }, { "id": "0f0de865-970a-4e82-9d97-5b06a0f18687", "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: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"role\": \"PRU2Jz\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.getRole", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.getRole" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-0f0de865-970a-4e82-9d97-5b06a0f18687" }, { "id": "7382a19b-1cf0-4ee8-b198-267bfad900c1", "name": "Forbidden", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"role\": \"PRU2Jz\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.getRole", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.getRole" ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-7382a19b-1cf0-4ee8-b198-267bfad900c1" }, { "id": "4c659460-2da7-46e1-90c1-dd27524f0d83", "name": "Not Found", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"role\": \"PRU2Jz\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.getRole", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.getRole" ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-4c659460-2da7-46e1-90c1-dd27524f0d83" }, { "id": "ce7381e6-887f-4efe-b590-f43f205a61ab", "name": "Too Many Requests", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/problem+json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"role\": \"PRU2Jz\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.getRole", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.getRole" ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/problem+json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-ce7381e6-887f-4efe-b590-f43f205a61ab" }, { "id": "0663f168-92d8-4ec4-a4fa-d46695c2b8d1", "name": "Internal Server Error", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"role\": \"PRU2Jz\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.getRole", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.getRole" ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-0663f168-92d8-4ec4-a4fa-d46695c2b8d1" } ], "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-67166223-66fe-4300-9ddb-49f6720486ff" } ], "id": "883ff9ec-1118-4835-89f4-94ab6d87c076", "createdAt": "2026-07-28T03:23:26.000Z", "updatedAt": "2026-07-28T03:23:26.000Z", "uid": "35240-883ff9ec-1118-4835-89f4-94ab6d87c076" }, { "name": "permissions.listPermissions", "item": [ { "name": "List Permissions", "id": "61ed4bb3-62ea-4c32-a12a-545c60ddd353", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"cursor\": \"\",\n \"limit\": 100\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.listPermissions", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.listPermissions" ] }, "description": "Retrieve all permissions in your workspace.\nResults are paginated and sorted by their id.\n\n**Required Permissions**\n\nYour root key must have the following permission:\n- `rbac.*.read_permission`\n" }, "response": [ { "id": "ecf6263b-dafd-4f26-b045-2d9b9a140907", "name": "Permissions retrieved successfully", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"cursor\": \"\",\n \"limit\": 100\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.listPermissions", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.listPermissions" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"data\": [\n {\n \"id\": \"LaGl122\",\n \"name\": \"\",\n \"slug\": \"M\",\n \"description\": \"\"\n },\n {\n \"id\": \"Z5dW3eF\",\n \"name\": \"\",\n \"slug\": \"VqaP94ep2C\",\n \"description\": \"\"\n }\n ],\n \"pagination\": {\n \"hasMore\": \"\",\n \"cursor\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-ecf6263b-dafd-4f26-b045-2d9b9a140907" }, { "id": "748da693-af47-4dda-9f62-f4d7022875ec", "name": "Bad Request", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"cursor\": \"\",\n \"limit\": 100\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.listPermissions", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.listPermissions" ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"detail\": \"\",\n \"errors\": [\n {\n \"location\": \"\",\n \"message\": \"\",\n \"fix\": \"\"\n },\n {\n \"location\": \"\",\n \"message\": \"\",\n \"fix\": \"\"\n }\n ],\n \"status\": \"\",\n \"title\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-748da693-af47-4dda-9f62-f4d7022875ec" }, { "id": "d511edc7-3980-4b0d-a05a-a1c387d21ce6", "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: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"cursor\": \"\",\n \"limit\": 100\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.listPermissions", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.listPermissions" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-d511edc7-3980-4b0d-a05a-a1c387d21ce6" }, { "id": "ee6fa861-69c9-41d2-8ff0-a9962efef8da", "name": "Forbidden", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"cursor\": \"\",\n \"limit\": 100\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.listPermissions", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.listPermissions" ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-ee6fa861-69c9-41d2-8ff0-a9962efef8da" }, { "id": "7aca7a7b-a27e-4c11-97c8-dacfa62c1a9c", "name": "Too Many Requests", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/problem+json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"cursor\": \"\",\n \"limit\": 100\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.listPermissions", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.listPermissions" ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/problem+json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-7aca7a7b-a27e-4c11-97c8-dacfa62c1a9c" }, { "id": "fb94d452-b483-4811-9067-7ec39938b140", "name": "Internal Server Error", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"cursor\": \"\",\n \"limit\": 100\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.listPermissions", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.listPermissions" ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-fb94d452-b483-4811-9067-7ec39938b140" } ], "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-61ed4bb3-62ea-4c32-a12a-545c60ddd353" } ], "id": "43b03a96-12df-4c01-a2df-28d4a08fc54f", "createdAt": "2026-07-28T03:23:26.000Z", "updatedAt": "2026-07-28T03:23:26.000Z", "uid": "35240-43b03a96-12df-4c01-a2df-28d4a08fc54f" }, { "name": "permissions.listRoles", "item": [ { "name": "List Roles", "id": "98cad0e6-f1c7-446c-a457-7064a0cfc241", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"limit\": 100,\n \"cursor\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.listRoles", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.listRoles" ] }, "description": "Retrieve all roles in your workspace including their assigned permissions.\nResults are paginated and sorted by their id.\n\n**Required Permissions**\n\nYour root key must have the following permission:\n- `rbac.*.read_role`\n" }, "response": [ { "id": "b82538ce-a33f-4deb-afb9-408bf7761445", "name": "Roles retrieved successfully", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"limit\": 100,\n \"cursor\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.listRoles", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.listRoles" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"data\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"permissions\": [\n {\n \"id\": \"s6La\",\n \"name\": \"\",\n \"slug\": \"b7inA7q\",\n \"description\": \"\"\n },\n {\n \"id\": \"wwm\",\n \"name\": \"\",\n \"slug\": \"QeCzn:kw\",\n \"description\": \"\"\n }\n ]\n },\n {\n \"id\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"permissions\": [\n {\n \"id\": \"BCR\",\n \"name\": \"\",\n \"slug\": \"eV.U6\",\n \"description\": \"\"\n },\n {\n \"id\": \"xWx7NyYIu\",\n \"name\": \"\",\n \"slug\": \"_kIm\",\n \"description\": \"\"\n }\n ]\n }\n ],\n \"pagination\": {\n \"hasMore\": \"\",\n \"cursor\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-b82538ce-a33f-4deb-afb9-408bf7761445" }, { "id": "c7e64052-8dd0-46f3-b42f-a8370a143886", "name": "Bad Request", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"limit\": 100,\n \"cursor\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.listRoles", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.listRoles" ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"detail\": \"\",\n \"errors\": [\n {\n \"location\": \"\",\n \"message\": \"\",\n \"fix\": \"\"\n },\n {\n \"location\": \"\",\n \"message\": \"\",\n \"fix\": \"\"\n }\n ],\n \"status\": \"\",\n \"title\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-c7e64052-8dd0-46f3-b42f-a8370a143886" }, { "id": "83930895-15db-4c8e-b8b8-b2850ad60cf2", "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: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"limit\": 100,\n \"cursor\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.listRoles", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.listRoles" ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-83930895-15db-4c8e-b8b8-b2850ad60cf2" }, { "id": "f3234dce-18ec-4f78-8704-c60a0e2996c7", "name": "Forbidden", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"limit\": 100,\n \"cursor\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.listRoles", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.listRoles" ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-f3234dce-18ec-4f78-8704-c60a0e2996c7" }, { "id": "002c6c3b-3d08-4a0a-a9bc-0487ad158d9c", "name": "Not Found", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"limit\": 100,\n \"cursor\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.listRoles", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.listRoles" ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-002c6c3b-3d08-4a0a-a9bc-0487ad158d9c" }, { "id": "2f566434-9ce0-45fb-848f-06aa522d8f3f", "name": "Too Many Requests", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/problem+json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"limit\": 100,\n \"cursor\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.listRoles", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.listRoles" ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/problem+json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-2f566434-9ce0-45fb-848f-06aa522d8f3f" }, { "id": "6b1929f0-ef1b-4f9a-996a-8e81b566708e", "name": "Internal Server Error", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"limit\": 100,\n \"cursor\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v2/permissions.listRoles", "host": [ "{{baseUrl}}" ], "path": [ "v2", "permissions.listRoles" ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"meta\": {\n \"requestId\": \"\"\n },\n \"error\": {\n \"title\": \"\",\n \"detail\": \"\",\n \"status\": \"\",\n \"type\": \"\"\n }\n}", "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-6b1929f0-ef1b-4f9a-996a-8e81b566708e" } ], "createdAt": "2026-07-28T03:23:27.000Z", "updatedAt": "2026-07-28T03:23:27.000Z", "uid": "35240-98cad0e6-f1c7-446c-a457-7064a0cfc241" } ], "id": "bf663eb5-9583-431b-bf5f-7085c6413fc2", "createdAt": "2026-07-28T03:23:26.000Z", "updatedAt": "2026-07-28T03:23:26.000Z", "uid": "35240-bf663eb5-9583-431b-bf5f-7085c6413fc2" } ], "id": "7145fa45-9792-40e6-846e-8108840f74e1", "createdAt": "2026-07-28T03:23:26.000Z", "updatedAt": "2026-07-28T03:23:26.000Z", "uid": "35240-7145fa45-9792-40e6-846e-8108840f74e1" } ], "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "variable": [ { "key": "baseUrl", "value": "https://api.unkey.com" } ] }