{ "info": { "_postman_id": "093f8674-21fd-475a-bd75-3df650a006af", "name": "Amigo Account Role API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "createdAt": "2026-07-28T01:01:45.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "lastUpdatedBy": "35240", "uid": "35240-093f8674-21fd-475a-bd75-3df650a006af" }, "item": [ { "name": "v1", "item": [ { "name": "{organization}", "item": [ { "name": "role", "item": [ { "name": "temporary_permission_grant", "item": [ { "name": "Create a temporary permission grant", "id": "ee7eb491-b688-436f-82d3-6b82e4d321a7", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"user_id\": \"\",\n \"duration\": \"\",\n \"permission_grant\": {\n \"permission_name\": \"\",\n \"conditions\": {\n \"Excepteur_f\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"ipsum_fd\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"dolor3\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n \"tags\": {\n \"deseruntc33\": \"P\u00a08Ie\",\n \"incididuntdd\": \"TZ0w\u2007\u3000\",\n \"tempor_5\": \"PB\u202fP74\",\n \"anim_a7\": \"z\u2000G\u2028\u2002JR\",\n \"enim_203\": \"r\u2000Ou\u2002\u200a\u2009\",\n \"in_24\": \"sXp\",\n \"ea7b0\": \"yh3EIs \",\n \"et_fc\": \"o\",\n \"officia_27\": \"\u2000\",\n \"aliquip_4\": \"u9\u180e\ufeff\u00a0\",\n \"eaf\": \"gf4o\\u000bs\\n5yj\",\n \"cillum40\": \"FSek7X0N3oE\",\n \"proident_02\": \"P\u2002b6Uzdm3dq\"\n },\n \"justification\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/temporary_permission_grant/", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "temporary_permission_grant", "" ], "variable": [ { "id": "08018e59-66ce-4e21-a855-f642ef91e254", "key": "organization", "value": "", "description": "(Required) " } ] }, "description": "Create a new temporary permission grant.\n\nThe user that is given the grant will be able to perform actions permitted by the grant for a limited amount of time. Note that any actions that\nrequire comparing the permissions of the user and the permissions of another entity would still use the user and the other entity's role, without\nfactoring into the temporary permission grants.\n\n#### Permissions\nThis endpoint requires the following permissions:\n* `Role:CreateTemporaryPermissionGrant` for the grant to create." }, "response": [ { "id": "e202afcf-786b-4457-a78b-656b9fbb3b21", "name": "Succeeded", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "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 \"user_id\": \"\",\n \"duration\": \"\",\n \"permission_grant\": {\n \"permission_name\": \"\",\n \"conditions\": {\n \"Excepteur_f\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"ipsum_fd\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"dolor3\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n \"tags\": {\n \"deseruntc33\": \"P\u00a08Ie\",\n \"incididuntdd\": \"TZ0w\u2007\u3000\",\n \"tempor_5\": \"PB\u202fP74\",\n \"anim_a7\": \"z\u2000G\u2028\u2002JR\",\n \"enim_203\": \"r\u2000Ou\u2002\u200a\u2009\",\n \"in_24\": \"sXp\",\n \"ea7b0\": \"yh3EIs \",\n \"et_fc\": \"o\",\n \"officia_27\": \"\u2000\",\n \"aliquip_4\": \"u9\u180e\ufeff\u00a0\",\n \"eaf\": \"gf4o\\u000bs\\n5yj\",\n \"cillum40\": \"FSek7X0N3oE\",\n \"proident_02\": \"P\u2002b6Uzdm3dq\"\n },\n \"justification\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/temporary_permission_grant/", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "temporary_permission_grant", "" ], "variable": [ { "key": "organization" } ] } }, "status": "Created", "code": 201, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"temporary_permission_grant_id\": \"\",\n \"expires_at\": \"\"\n}", "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-e202afcf-786b-4457-a78b-656b9fbb3b21" }, { "id": "4398ac91-0386-4c5d-8c28-17f89c9feccf", "name": "Invalid authorization credentials.", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"user_id\": \"\",\n \"duration\": \"\",\n \"permission_grant\": {\n \"permission_name\": \"\",\n \"conditions\": {\n \"Excepteur_f\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"ipsum_fd\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"dolor3\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n \"tags\": {\n \"deseruntc33\": \"P\u00a08Ie\",\n \"incididuntdd\": \"TZ0w\u2007\u3000\",\n \"tempor_5\": \"PB\u202fP74\",\n \"anim_a7\": \"z\u2000G\u2028\u2002JR\",\n \"enim_203\": \"r\u2000Ou\u2002\u200a\u2009\",\n \"in_24\": \"sXp\",\n \"ea7b0\": \"yh3EIs \",\n \"et_fc\": \"o\",\n \"officia_27\": \"\u2000\",\n \"aliquip_4\": \"u9\u180e\ufeff\u00a0\",\n \"eaf\": \"gf4o\\u000bs\\n5yj\",\n \"cillum40\": \"FSek7X0N3oE\",\n \"proident_02\": \"P\u2002b6Uzdm3dq\"\n },\n \"justification\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/temporary_permission_grant/", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "temporary_permission_grant", "" ], "variable": [ { "key": "organization" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-4398ac91-0386-4c5d-8c28-17f89c9feccf" }, { "id": "0c9351a5-ceae-41e1-a4ef-cb22ada05ecb", "name": "Missing required permissions.", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"user_id\": \"\",\n \"duration\": \"\",\n \"permission_grant\": {\n \"permission_name\": \"\",\n \"conditions\": {\n \"Excepteur_f\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"ipsum_fd\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"dolor3\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n \"tags\": {\n \"deseruntc33\": \"P\u00a08Ie\",\n \"incididuntdd\": \"TZ0w\u2007\u3000\",\n \"tempor_5\": \"PB\u202fP74\",\n \"anim_a7\": \"z\u2000G\u2028\u2002JR\",\n \"enim_203\": \"r\u2000Ou\u2002\u200a\u2009\",\n \"in_24\": \"sXp\",\n \"ea7b0\": \"yh3EIs \",\n \"et_fc\": \"o\",\n \"officia_27\": \"\u2000\",\n \"aliquip_4\": \"u9\u180e\ufeff\u00a0\",\n \"eaf\": \"gf4o\\u000bs\\n5yj\",\n \"cillum40\": \"FSek7X0N3oE\",\n \"proident_02\": \"P\u2002b6Uzdm3dq\"\n },\n \"justification\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/temporary_permission_grant/", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "temporary_permission_grant", "" ], "variable": [ { "key": "organization" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-0c9351a5-ceae-41e1-a4ef-cb22ada05ecb" }, { "id": "a9379e5c-f29a-4564-a973-36374f376326", "name": "Specified organization or user is not found.", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"user_id\": \"\",\n \"duration\": \"\",\n \"permission_grant\": {\n \"permission_name\": \"\",\n \"conditions\": {\n \"Excepteur_f\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"ipsum_fd\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"dolor3\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n \"tags\": {\n \"deseruntc33\": \"P\u00a08Ie\",\n \"incididuntdd\": \"TZ0w\u2007\u3000\",\n \"tempor_5\": \"PB\u202fP74\",\n \"anim_a7\": \"z\u2000G\u2028\u2002JR\",\n \"enim_203\": \"r\u2000Ou\u2002\u200a\u2009\",\n \"in_24\": \"sXp\",\n \"ea7b0\": \"yh3EIs \",\n \"et_fc\": \"o\",\n \"officia_27\": \"\u2000\",\n \"aliquip_4\": \"u9\u180e\ufeff\u00a0\",\n \"eaf\": \"gf4o\\u000bs\\n5yj\",\n \"cillum40\": \"FSek7X0N3oE\",\n \"proident_02\": \"P\u2002b6Uzdm3dq\"\n },\n \"justification\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/temporary_permission_grant/", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "temporary_permission_grant", "" ], "variable": [ { "key": "organization" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-a9379e5c-f29a-4564-a973-36374f376326" }, { "id": "205b7a43-1dc9-4c31-b893-96e875278905", "name": "Invalid request path parameter or request body failed validation.", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"user_id\": \"\",\n \"duration\": \"\",\n \"permission_grant\": {\n \"permission_name\": \"\",\n \"conditions\": {\n \"Excepteur_f\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"ipsum_fd\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"dolor3\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n \"tags\": {\n \"deseruntc33\": \"P\u00a08Ie\",\n \"incididuntdd\": \"TZ0w\u2007\u3000\",\n \"tempor_5\": \"PB\u202fP74\",\n \"anim_a7\": \"z\u2000G\u2028\u2002JR\",\n \"enim_203\": \"r\u2000Ou\u2002\u200a\u2009\",\n \"in_24\": \"sXp\",\n \"ea7b0\": \"yh3EIs \",\n \"et_fc\": \"o\",\n \"officia_27\": \"\u2000\",\n \"aliquip_4\": \"u9\u180e\ufeff\u00a0\",\n \"eaf\": \"gf4o\\u000bs\\n5yj\",\n \"cillum40\": \"FSek7X0N3oE\",\n \"proident_02\": \"P\u2002b6Uzdm3dq\"\n },\n \"justification\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/temporary_permission_grant/", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "temporary_permission_grant", "" ], "variable": [ { "key": "organization" } ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-205b7a43-1dc9-4c31-b893-96e875278905" }, { "id": "477a59c4-c7a6-47b9-94be-978108c4394c", "name": "The user has exceeded the rate limit of 100 requests per minute for this endpoint.", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"user_id\": \"\",\n \"duration\": \"\",\n \"permission_grant\": {\n \"permission_name\": \"\",\n \"conditions\": {\n \"Excepteur_f\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"ipsum_fd\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"dolor3\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n \"tags\": {\n \"deseruntc33\": \"P\u00a08Ie\",\n \"incididuntdd\": \"TZ0w\u2007\u3000\",\n \"tempor_5\": \"PB\u202fP74\",\n \"anim_a7\": \"z\u2000G\u2028\u2002JR\",\n \"enim_203\": \"r\u2000Ou\u2002\u200a\u2009\",\n \"in_24\": \"sXp\",\n \"ea7b0\": \"yh3EIs \",\n \"et_fc\": \"o\",\n \"officia_27\": \"\u2000\",\n \"aliquip_4\": \"u9\u180e\ufeff\u00a0\",\n \"eaf\": \"gf4o\\u000bs\\n5yj\",\n \"cillum40\": \"FSek7X0N3oE\",\n \"proident_02\": \"P\u2002b6Uzdm3dq\"\n },\n \"justification\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/temporary_permission_grant/", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "temporary_permission_grant", "" ], "variable": [ { "key": "organization" } ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-477a59c4-c7a6-47b9-94be-978108c4394c" }, { "id": "fa91efd0-7302-49fd-8b04-a33f83684df3", "name": "The service is going through temporary maintenance.", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"user_id\": \"\",\n \"duration\": \"\",\n \"permission_grant\": {\n \"permission_name\": \"\",\n \"conditions\": {\n \"Excepteur_f\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"ipsum_fd\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"dolor3\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n \"tags\": {\n \"deseruntc33\": \"P\u00a08Ie\",\n \"incididuntdd\": \"TZ0w\u2007\u3000\",\n \"tempor_5\": \"PB\u202fP74\",\n \"anim_a7\": \"z\u2000G\u2028\u2002JR\",\n \"enim_203\": \"r\u2000Ou\u2002\u200a\u2009\",\n \"in_24\": \"sXp\",\n \"ea7b0\": \"yh3EIs \",\n \"et_fc\": \"o\",\n \"officia_27\": \"\u2000\",\n \"aliquip_4\": \"u9\u180e\ufeff\u00a0\",\n \"eaf\": \"gf4o\\u000bs\\n5yj\",\n \"cillum40\": \"FSek7X0N3oE\",\n \"proident_02\": \"P\u2002b6Uzdm3dq\"\n },\n \"justification\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/temporary_permission_grant/", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "temporary_permission_grant", "" ], "variable": [ { "key": "organization" } ] } }, "status": "Service Unavailable", "code": 503, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-fa91efd0-7302-49fd-8b04-a33f83684df3" } ], "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-ee7eb491-b688-436f-82d3-6b82e4d321a7" } ], "id": "c1aef703-c1e7-4f06-add1-80652c6e150f", "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-c1aef703-c1e7-4f06-add1-80652c6e150f" }, { "name": "temporary_permission_grants", "item": [ { "name": "Get temporary permission grants", "id": "e2c9c729-eb57-48a5-9afc-88fed6665121", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/:organization/role/temporary_permission_grants/?permission_grant_name=&is_expired=&limit=10&continuation_token=0", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "temporary_permission_grants", "" ], "query": [ { "description": "The permission name of the grants.", "key": "permission_grant_name", "value": "" }, { "description": "Whether to only return expired or unexpired temporary permission grants.", "key": "is_expired", "value": "" }, { "description": "The maximum number of temporary permission grants to return.", "key": "limit", "value": "10" }, { "description": "The continuation token to use to retrieve the next set of temporary permission grants.", "key": "continuation_token", "value": "0" } ], "variable": [ { "id": "423e7a64-fdc4-4e07-bccf-d62f38a16196", "key": "organization", "value": "", "description": "(Required) " } ] }, "description": "Retrieve the temporary permission grants that match the given filters.\n\n#### Permissions\nThis endpoint may be impacted by the following permissions:\n* Only temporary permission grants that the authenticated user has `Role:GetTemporaryPermissionGrant` permission for will be returned." }, "response": [ { "id": "19ef0c81-e420-401b-b5a0-bd61c7f520f5", "name": "Succeeded.", "originalRequest": { "method": "GET", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:organization/role/temporary_permission_grants/?permission_grant_name=&is_expired=&limit=10&continuation_token=0", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "temporary_permission_grants", "" ], "query": [ { "description": "The permission name of the grants.", "key": "permission_grant_name", "value": "" }, { "description": "Whether to only return expired or unexpired temporary permission grants.", "key": "is_expired", "value": "" }, { "description": "The maximum number of temporary permission grants to return.", "key": "limit", "value": "10" }, { "description": "The continuation token to use to retrieve the next set of temporary permission grants.", "key": "continuation_token", "value": "0" } ], "variable": [ { "key": "organization" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"temporary_permission_grants\": [\n {\n \"_id\": \"\",\n \"org_id\": \"\",\n \"user_id\": \"\",\n \"expires_at\": \"\",\n \"permission_grant\": {\n \"permission_name\": \"\",\n \"conditions\": {\n \"ullamcoe1_\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"Excepteur_2ef\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n \"justification\": \"\",\n \"creator\": {\n \"org_id\": \"\",\n \"user_id\": \"\"\n },\n \"tags\": {\n \"cupidatat40\": \"\"\n },\n \"created_at\": \"\",\n \"updated_at\": \"\"\n },\n {\n \"_id\": \"\",\n \"org_id\": \"\",\n \"user_id\": \"\",\n \"expires_at\": \"\",\n \"permission_grant\": {\n \"permission_name\": \"\",\n \"conditions\": {\n \"dolore_6\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"Ut_ea6\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"incididunt_c87\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"nostrud3\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n \"justification\": \"\",\n \"creator\": {\n \"org_id\": \"\",\n \"user_id\": \"\"\n },\n \"tags\": {\n \"amet_261\": \"\"\n },\n \"created_at\": \"\",\n \"updated_at\": \"\"\n }\n ],\n \"has_more\": \"\",\n \"continuation_token\": \"\"\n}", "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-19ef0c81-e420-401b-b5a0-bd61c7f520f5" }, { "id": "83e5833f-d239-4405-bbe7-3ead86caf36d", "name": "Invalid authorization credentials.", "originalRequest": { "method": "GET", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:organization/role/temporary_permission_grants/?permission_grant_name=&is_expired=&limit=10&continuation_token=0", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "temporary_permission_grants", "" ], "query": [ { "description": "The permission name of the grants.", "key": "permission_grant_name", "value": "" }, { "description": "Whether to only return expired or unexpired temporary permission grants.", "key": "is_expired", "value": "" }, { "description": "The maximum number of temporary permission grants to return.", "key": "limit", "value": "10" }, { "description": "The continuation token to use to retrieve the next set of temporary permission grants.", "key": "continuation_token", "value": "0" } ], "variable": [ { "key": "organization" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-83e5833f-d239-4405-bbe7-3ead86caf36d" }, { "id": "43c21c6c-fe89-4298-875d-5cc4b375ea20", "name": "Missing required permissions.", "originalRequest": { "method": "GET", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:organization/role/temporary_permission_grants/?permission_grant_name=&is_expired=&limit=10&continuation_token=0", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "temporary_permission_grants", "" ], "query": [ { "description": "The permission name of the grants.", "key": "permission_grant_name", "value": "" }, { "description": "Whether to only return expired or unexpired temporary permission grants.", "key": "is_expired", "value": "" }, { "description": "The maximum number of temporary permission grants to return.", "key": "limit", "value": "10" }, { "description": "The continuation token to use to retrieve the next set of temporary permission grants.", "key": "continuation_token", "value": "0" } ], "variable": [ { "key": "organization" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-43c21c6c-fe89-4298-875d-5cc4b375ea20" }, { "id": "cb29ba9d-ebbb-480b-af06-b46b06de0c1e", "name": "Specified organization is not found.", "originalRequest": { "method": "GET", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:organization/role/temporary_permission_grants/?permission_grant_name=&is_expired=&limit=10&continuation_token=0", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "temporary_permission_grants", "" ], "query": [ { "description": "The permission name of the grants.", "key": "permission_grant_name", "value": "" }, { "description": "Whether to only return expired or unexpired temporary permission grants.", "key": "is_expired", "value": "" }, { "description": "The maximum number of temporary permission grants to return.", "key": "limit", "value": "10" }, { "description": "The continuation token to use to retrieve the next set of temporary permission grants.", "key": "continuation_token", "value": "0" } ], "variable": [ { "key": "organization" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-cb29ba9d-ebbb-480b-af06-b46b06de0c1e" }, { "id": "49bded86-968c-42f6-8802-1b0f503363f8", "name": "Invalid request path parameter or request query parameter failed validation.", "originalRequest": { "method": "GET", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:organization/role/temporary_permission_grants/?permission_grant_name=&is_expired=&limit=10&continuation_token=0", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "temporary_permission_grants", "" ], "query": [ { "description": "The permission name of the grants.", "key": "permission_grant_name", "value": "" }, { "description": "Whether to only return expired or unexpired temporary permission grants.", "key": "is_expired", "value": "" }, { "description": "The maximum number of temporary permission grants to return.", "key": "limit", "value": "10" }, { "description": "The continuation token to use to retrieve the next set of temporary permission grants.", "key": "continuation_token", "value": "0" } ], "variable": [ { "key": "organization" } ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-49bded86-968c-42f6-8802-1b0f503363f8" }, { "id": "1abfe48f-d1c3-47a3-800f-15682b36a419", "name": "The user has exceeded the rate limit of 100 requests per minute for this endpoint.", "originalRequest": { "method": "GET", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:organization/role/temporary_permission_grants/?permission_grant_name=&is_expired=&limit=10&continuation_token=0", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "temporary_permission_grants", "" ], "query": [ { "description": "The permission name of the grants.", "key": "permission_grant_name", "value": "" }, { "description": "Whether to only return expired or unexpired temporary permission grants.", "key": "is_expired", "value": "" }, { "description": "The maximum number of temporary permission grants to return.", "key": "limit", "value": "10" }, { "description": "The continuation token to use to retrieve the next set of temporary permission grants.", "key": "continuation_token", "value": "0" } ], "variable": [ { "key": "organization" } ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-1abfe48f-d1c3-47a3-800f-15682b36a419" }, { "id": "35c35c12-0079-42c4-a02f-4e9847a8648d", "name": "The service is going through temporary maintenance.", "originalRequest": { "method": "GET", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:organization/role/temporary_permission_grants/?permission_grant_name=&is_expired=&limit=10&continuation_token=0", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "temporary_permission_grants", "" ], "query": [ { "description": "The permission name of the grants.", "key": "permission_grant_name", "value": "" }, { "description": "Whether to only return expired or unexpired temporary permission grants.", "key": "is_expired", "value": "" }, { "description": "The maximum number of temporary permission grants to return.", "key": "limit", "value": "10" }, { "description": "The continuation token to use to retrieve the next set of temporary permission grants.", "key": "continuation_token", "value": "0" } ], "variable": [ { "key": "organization" } ] } }, "status": "Service Unavailable", "code": 503, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-35c35c12-0079-42c4-a02f-4e9847a8648d" } ], "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-e2c9c729-eb57-48a5-9afc-88fed6665121" } ], "id": "f3683637-619b-4138-90f9-f7cc9d739f8a", "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-f3683637-619b-4138-90f9-f7cc9d739f8a" }, { "name": "{role_name}", "item": [ { "name": "assign", "item": [ { "name": "Assign a role to user", "id": "789b0c03-074f-475d-a27d-b292f330bc50", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"user_id\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/:role_name/assign", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", ":role_name", "assign" ], "variable": [ { "id": "1901c5bc-f652-4439-ab72-9ad69bc60662", "key": "organization", "value": "", "description": "(Required) " }, { "id": "dd8e9873-1828-4032-a9fe-df432e23f86f", "key": "role_name", "value": "", "description": "(Required) The name of the role to assign." } ] }, "description": "Assign a role to a user.\n\n#### Permissions\nThis endpoint requires the following permissions:\n* The authenticated user to have greater privileges than the role being assigned." }, "response": [ { "id": "91919d65-6918-46e7-9869-150af947d851", "name": "Succeeded", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "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 \"user_id\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/:role_name/assign", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", ":role_name", "assign" ], "variable": [ { "key": "organization" }, { "key": "role_name" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"role_id\": \"\"\n}", "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-91919d65-6918-46e7-9869-150af947d851" }, { "id": "70db28b3-5cba-43e1-9a96-13cd9379f87d", "name": "Invalid authorization credentials.", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"user_id\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/:role_name/assign", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", ":role_name", "assign" ], "variable": [ { "key": "organization" }, { "key": "role_name" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-70db28b3-5cba-43e1-9a96-13cd9379f87d" }, { "id": "cb4a0ee6-78e3-4aa0-bafc-912edd8b572f", "name": "Missing required permissions.", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"user_id\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/:role_name/assign", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", ":role_name", "assign" ], "variable": [ { "key": "organization" }, { "key": "role_name" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-cb4a0ee6-78e3-4aa0-bafc-912edd8b572f" }, { "id": "eddf0f67-bcc3-45f8-8881-a75ba5f769fc", "name": "Specified organization, role, or user is not found.", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"user_id\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/:role_name/assign", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", ":role_name", "assign" ], "variable": [ { "key": "organization" }, { "key": "role_name" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-eddf0f67-bcc3-45f8-8881-a75ba5f769fc" }, { "id": "bd66b767-4c1f-4476-90b6-45f1d6a33336", "name": "Invalid request path parameter or request body failed validation.", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"user_id\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/:role_name/assign", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", ":role_name", "assign" ], "variable": [ { "key": "organization" }, { "key": "role_name" } ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-bd66b767-4c1f-4476-90b6-45f1d6a33336" }, { "id": "639a88a6-3885-4db0-950c-cdbed679bec2", "name": "The user has exceeded the rate limit of 1000 requests per minute for this endpoint.", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"user_id\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/:role_name/assign", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", ":role_name", "assign" ], "variable": [ { "key": "organization" }, { "key": "role_name" } ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-639a88a6-3885-4db0-950c-cdbed679bec2" }, { "id": "1383bd34-513b-439e-963f-587e1d211ecf", "name": "The service is going through temporary maintenance.", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"user_id\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/:role_name/assign", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", ":role_name", "assign" ], "variable": [ { "key": "organization" }, { "key": "role_name" } ] } }, "status": "Service Unavailable", "code": 503, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-1383bd34-513b-439e-963f-587e1d211ecf" } ], "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-789b0c03-074f-475d-a27d-b292f330bc50" } ], "id": "47715df3-688e-458e-b922-49e98251a773", "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-47715df3-688e-458e-b922-49e98251a773" }, { "name": "Modify a role", "id": "249f6cd4-3c08-4103-97f7-d5097aeb703c", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"\",\n \"permission_grants\": [\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"ut43\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"inaa\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"inc5\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"ut_a\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n }\n ],\n \"frontend_view\": \"client\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/:role_name", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", ":role_name" ], "variable": [ { "id": "5daf829c-a381-489d-aab5-c36128e60d92", "key": "organization", "value": "", "description": "(Required) " }, { "id": "f292dfb0-3960-4767-a64b-1b60040d39b8", "key": "role_name", "value": "", "description": "(Required) The name of the role." } ] }, "description": "Modify an existing role. The roles are modified in-place unless immutable fields are modified, in which case a new role with the same name\nis created, and all users/API keys assigned to the previous role are switched to the new role. The old role document will expire after 1 day.\n\n#### Permissions\nThis endpoint requires the following permissions:\n* `Role:ModifyRole` for the role.\n\nThis endpoint may require the authenticated user to have great privileges than the new role if a new role document is created as a result of\nimmutable field changes." }, "response": [ { "id": "3c2278c6-77a7-4844-b80f-0406b9c0c355", "name": "Succeeded", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "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 \"description\": \"\",\n \"permission_grants\": [\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"ut43\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"inaa\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"inc5\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"ut_a\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n }\n ],\n \"frontend_view\": \"client\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/:role_name", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", ":role_name" ], "variable": [ { "key": "organization" }, { "key": "role_name" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"role_id\": \"\"\n}", "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-3c2278c6-77a7-4844-b80f-0406b9c0c355" }, { "id": "08c19090-bf04-419d-a0f5-d65bef3a8c13", "name": "Base roles cannot inherit from other roles.", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"\",\n \"permission_grants\": [\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"ut43\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"inaa\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"inc5\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"ut_a\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n }\n ],\n \"frontend_view\": \"client\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/:role_name", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", ":role_name" ], "variable": [ { "key": "organization" }, { "key": "role_name" } ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-08c19090-bf04-419d-a0f5-d65bef3a8c13" }, { "id": "5fa03b32-de13-4ff0-8f79-3b8a5ef44fe4", "name": "Invalid authorization credentials.", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"\",\n \"permission_grants\": [\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"ut43\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"inaa\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"inc5\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"ut_a\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n }\n ],\n \"frontend_view\": \"client\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/:role_name", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", ":role_name" ], "variable": [ { "key": "organization" }, { "key": "role_name" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-5fa03b32-de13-4ff0-8f79-3b8a5ef44fe4" }, { "id": "a75d1d45-01c8-4e4f-be82-cf1056941a49", "name": "Missing required permissions.", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"\",\n \"permission_grants\": [\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"ut43\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"inaa\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"inc5\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"ut_a\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n }\n ],\n \"frontend_view\": \"client\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/:role_name", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", ":role_name" ], "variable": [ { "key": "organization" }, { "key": "role_name" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-a75d1d45-01c8-4e4f-be82-cf1056941a49" }, { "id": "09359517-928d-4703-a226-ea781150e034", "name": "Specified organization, role, or inherited role is not found.", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"\",\n \"permission_grants\": [\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"ut43\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"inaa\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"inc5\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"ut_a\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n }\n ],\n \"frontend_view\": \"client\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/:role_name", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", ":role_name" ], "variable": [ { "key": "organization" }, { "key": "role_name" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-09359517-928d-4703-a226-ea781150e034" }, { "id": "4a9859b3-7383-4489-895e-55fd616c70b9", "name": "Invalid request path parameter or request body failed validation.", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"\",\n \"permission_grants\": [\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"ut43\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"inaa\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"inc5\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"ut_a\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n }\n ],\n \"frontend_view\": \"client\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/:role_name", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", ":role_name" ], "variable": [ { "key": "organization" }, { "key": "role_name" } ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-4a9859b3-7383-4489-895e-55fd616c70b9" }, { "id": "d9b0747a-e322-4640-92c5-93cf4a70f510", "name": "The user has exceeded the rate limit of 10 requests per minute for this endpoint.", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"\",\n \"permission_grants\": [\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"ut43\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"inaa\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"inc5\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"ut_a\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n }\n ],\n \"frontend_view\": \"client\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/:role_name", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", ":role_name" ], "variable": [ { "key": "organization" }, { "key": "role_name" } ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-d9b0747a-e322-4640-92c5-93cf4a70f510" }, { "id": "ddf3778d-ee70-47a3-a465-d68d383b847e", "name": "The service is going through temporary maintenance.", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"description\": \"\",\n \"permission_grants\": [\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"ut43\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"inaa\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"inc5\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"ut_a\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n }\n ],\n \"frontend_view\": \"client\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/:role_name", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", ":role_name" ], "variable": [ { "key": "organization" }, { "key": "role_name" } ] } }, "status": "Service Unavailable", "code": 503, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-ddf3778d-ee70-47a3-a465-d68d383b847e" } ], "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-249f6cd4-3c08-4103-97f7-d5097aeb703c" } ], "id": "cf87ca40-97aa-4b06-b653-45ef784f06d8", "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-cf87ca40-97aa-4b06-b653-45ef784f06d8" }, { "name": "Create a role", "id": "262dcc25-653e-4ec0-9052-fe83ec589692", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"role_name\": \"\",\n \"description\": \"\",\n \"permission_grants\": [\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"Lorem_b\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"ut_1\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"laborumb\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"exercitation_c\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n }\n ],\n \"frontend_view\": \"admin\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "" ], "variable": [ { "id": "112a82eb-e6ef-422e-8fed-71b9cf70fd99", "key": "organization", "value": "", "description": "(Required) " } ] }, "description": "Create a new role.\n\n#### Permissions\nThis endpoint requires the following permissions:\n* `Role:CreateRole` for the role." }, "response": [ { "id": "e9e5df59-9d30-4617-bb0f-5ee438d338ae", "name": "Succeeded", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "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_name\": \"\",\n \"description\": \"\",\n \"permission_grants\": [\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"Lorem_b\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"ut_1\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"laborumb\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"exercitation_c\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n }\n ],\n \"frontend_view\": \"admin\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "" ], "variable": [ { "key": "organization" } ] } }, "status": "Created", "code": 201, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"role_id\": \"\"\n}", "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-e9e5df59-9d30-4617-bb0f-5ee438d338ae" }, { "id": "2c043d70-56ba-454e-8e9f-5f7088b13067", "name": "Invalid authorization credentials.", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"role_name\": \"\",\n \"description\": \"\",\n \"permission_grants\": [\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"Lorem_b\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"ut_1\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"laborumb\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"exercitation_c\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n }\n ],\n \"frontend_view\": \"admin\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "" ], "variable": [ { "key": "organization" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-2c043d70-56ba-454e-8e9f-5f7088b13067" }, { "id": "bfb13019-7755-4412-b449-20ec89953aab", "name": "Missing required permissions.", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"role_name\": \"\",\n \"description\": \"\",\n \"permission_grants\": [\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"Lorem_b\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"ut_1\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"laborumb\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"exercitation_c\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n }\n ],\n \"frontend_view\": \"admin\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "" ], "variable": [ { "key": "organization" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-bfb13019-7755-4412-b449-20ec89953aab" }, { "id": "3cb4b822-3627-44b4-b3e7-86d06dc4f56d", "name": "Specified organization or inherited role is not found.", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"role_name\": \"\",\n \"description\": \"\",\n \"permission_grants\": [\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"Lorem_b\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"ut_1\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"laborumb\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"exercitation_c\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n }\n ],\n \"frontend_view\": \"admin\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "" ], "variable": [ { "key": "organization" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-3cb4b822-3627-44b4-b3e7-86d06dc4f56d" }, { "id": "e35d5ac4-9386-455b-bf74-e0e9954e21f7", "name": "Role with the same name already exists in this organization.", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"role_name\": \"\",\n \"description\": \"\",\n \"permission_grants\": [\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"Lorem_b\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"ut_1\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"laborumb\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"exercitation_c\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n }\n ],\n \"frontend_view\": \"admin\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "" ], "variable": [ { "key": "organization" } ] } }, "status": "Conflict", "code": 409, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-e35d5ac4-9386-455b-bf74-e0e9954e21f7" }, { "id": "85837672-0d91-41ca-8b46-6a8b781b0c94", "name": "Invalid request path parameter or request body failed validation.", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"role_name\": \"\",\n \"description\": \"\",\n \"permission_grants\": [\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"Lorem_b\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"ut_1\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"laborumb\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"exercitation_c\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n }\n ],\n \"frontend_view\": \"admin\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "" ], "variable": [ { "key": "organization" } ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-85837672-0d91-41ca-8b46-6a8b781b0c94" }, { "id": "c68be63d-dcfe-42ef-98c1-9f72f400d542", "name": "The user has exceeded the rate limit of 20 requests per minute for this endpoint.", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"role_name\": \"\",\n \"description\": \"\",\n \"permission_grants\": [\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"Lorem_b\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"ut_1\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"laborumb\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"exercitation_c\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n }\n ],\n \"frontend_view\": \"admin\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "" ], "variable": [ { "key": "organization" } ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-c68be63d-dcfe-42ef-98c1-9f72f400d542" }, { "id": "7947a20c-2429-4918-86ed-d69f091d4240", "name": "The service is going through temporary maintenance.", "originalRequest": { "method": "POST", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"role_name\": \"\",\n \"description\": \"\",\n \"permission_grants\": [\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"Lorem_b\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"ut_1\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"laborumb\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"exercitation_c\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n }\n ],\n \"frontend_view\": \"admin\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:organization/role/", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "" ], "variable": [ { "key": "organization" } ] } }, "status": "Service Unavailable", "code": 503, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-7947a20c-2429-4918-86ed-d69f091d4240" } ], "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-262dcc25-653e-4ec0-9052-fe83ec589692" }, { "name": "Get roles", "id": "413e0d90-1486-4b01-ac4d-5ee5bf2657fb", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/:organization/role/?return_permission_grants=false", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "" ], "query": [ { "description": "Whether to return permission grants.", "key": "return_permission_grants", "value": "false" } ], "variable": [ { "id": "69eca5e9-7219-41d0-89ab-26c836842ffa", "key": "organization", "value": "", "description": "(Required) " } ] }, "description": "Return a list of roles in this organization.\n\n#### Permissions\nThis endpoint may be impacted by the following permissions:\n* Only roles that the authenticated user has the `Role:GetRole` permission on will be returned." }, "response": [ { "id": "8cfc40da-5802-44e5-b698-06acd4ffbdef", "name": "Succeeded", "originalRequest": { "method": "GET", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:organization/role/?return_permission_grants=false", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "" ], "query": [ { "description": "Whether to return permission grants.", "key": "return_permission_grants", "value": "false" } ], "variable": [ { "key": "organization" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"roles\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"frontend_view\": \"client\",\n \"permission_grants\": [\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"laboris_10\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"nisi5\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"in_a72\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"utae8\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"ipsum_0d\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n },\n \"laborum_0a\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n }\n ]\n },\n {\n \"id\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"frontend_view\": \"client\",\n \"permission_grants\": [\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"enim42b\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n },\n {\n \"permission_name\": \"\",\n \"conditions\": {\n \"ipsum8\": {\n \"value\": {\n \"title\": \"Value\",\n \"description\": \"The value that the attribute must be equal to. It must be of the same type as the type of this attribute in the permission.\"\n },\n \"type\": \"Equals\"\n }\n }\n }\n ]\n }\n ]\n}", "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-8cfc40da-5802-44e5-b698-06acd4ffbdef" }, { "id": "edd3cb3d-ae02-4f93-a544-f1b37cdfd4b7", "name": "Invalid authorization credentials.", "originalRequest": { "method": "GET", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:organization/role/?return_permission_grants=false", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "" ], "query": [ { "description": "Whether to return permission grants.", "key": "return_permission_grants", "value": "false" } ], "variable": [ { "key": "organization" } ] } }, "status": "Unauthorized", "code": 401, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-edd3cb3d-ae02-4f93-a544-f1b37cdfd4b7" }, { "id": "2fb78639-eec6-4923-a3ff-af8d497f6c10", "name": "Missing required permissions.", "originalRequest": { "method": "GET", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:organization/role/?return_permission_grants=false", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "" ], "query": [ { "description": "Whether to return permission grants.", "key": "return_permission_grants", "value": "false" } ], "variable": [ { "key": "organization" } ] } }, "status": "Forbidden", "code": 403, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-2fb78639-eec6-4923-a3ff-af8d497f6c10" }, { "id": "ab3683fb-5067-4a1c-a482-b21e13808255", "name": "Specified organization is not found.", "originalRequest": { "method": "GET", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:organization/role/?return_permission_grants=false", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "" ], "query": [ { "description": "Whether to return permission grants.", "key": "return_permission_grants", "value": "false" } ], "variable": [ { "key": "organization" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-ab3683fb-5067-4a1c-a482-b21e13808255" }, { "id": "6f7251e8-a372-4227-aa33-e03d4508ba73", "name": "Invalid request path parameter or request query parameter failed validation.", "originalRequest": { "method": "GET", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:organization/role/?return_permission_grants=false", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "" ], "query": [ { "description": "Whether to return permission grants.", "key": "return_permission_grants", "value": "false" } ], "variable": [ { "key": "organization" } ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-6f7251e8-a372-4227-aa33-e03d4508ba73" }, { "id": "a98cb16f-2d31-4597-af62-656f1340fb75", "name": "The user has exceeded the rate limit of 20 requests per minute for this endpoint.", "originalRequest": { "method": "GET", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:organization/role/?return_permission_grants=false", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "" ], "query": [ { "description": "Whether to return permission grants.", "key": "return_permission_grants", "value": "false" } ], "variable": [ { "key": "organization" } ] } }, "status": "Too Many Requests", "code": 429, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-a98cb16f-2d31-4597-af62-656f1340fb75" }, { "id": "5c9aed49-a17a-4f79-91a2-62e8c9b41d88", "name": "The service is going through temporary maintenance.", "originalRequest": { "method": "GET", "header": [ { "description": "The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.", "key": "x-mongo-cluster-name", "value": "" }, { "key": "Sec-WebSocket-Protocol", "value": "" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:organization/role/?return_permission_grants=false", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":organization", "role", "" ], "query": [ { "description": "Whether to return permission grants.", "key": "return_permission_grants", "value": "false" } ], "variable": [ { "key": "organization" } ] } }, "status": "Service Unavailable", "code": 503, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-5c9aed49-a17a-4f79-91a2-62e8c9b41d88" } ], "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-413e0d90-1486-4b01-ac4d-5ee5bf2657fb" } ], "id": "73c4fc7e-fcdf-4cc0-a714-a36c5e3b9550", "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-73c4fc7e-fcdf-4cc0-a714-a36c5e3b9550" } ], "id": "afe5f774-e499-417c-9123-fbab4970a124", "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-afe5f774-e499-417c-9123-fbab4970a124" } ], "id": "72e065ba-ca0b-48db-8aa6-827a0f486959", "createdAt": "2026-07-28T01:01:46.000Z", "updatedAt": "2026-07-28T01:01:46.000Z", "uid": "35240-72e065ba-ca0b-48db-8aa6-827a0f486959" } ], "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "variable": [ { "key": "baseUrl", "value": "https://api.amigo.ai" } ] }