{ "info": { "_postman_id": "154db82e-dc33-4fd9-94b5-77331ba28adb", "name": "Amigo Account External Role Assignments API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "createdAt": "2026-07-28T01:00:52.000Z", "updatedAt": "2026-07-28T01:00:52.000Z", "lastUpdatedBy": "35240", "uid": "35240-154db82e-dc33-4fd9-94b5-77331ba28adb" }, "item": [ { "name": "v1", "item": [ { "name": "{workspace_id}", "item": [ { "name": "external-role-assignments", "item": [ { "name": "{assignment_id}", "item": [ { "name": "Get External Role Assignment", "id": "e8a3b432-ac0f-4fff-9d8a-df7db7cc7855", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/external-role-assignments/:assignment_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "external-role-assignments", ":assignment_id" ], "variable": [ { "id": "bf4876d4-8418-4b2d-90f7-43473a53db28", "key": "workspace_id", "value": "", "description": "(Required) " }, { "id": "6ce8f60b-0ed2-42c5-a85c-496f9abf29ce", "key": "assignment_id", "value": "", "description": "(Required) " } ] } }, "response": [ { "id": "819224be-c8e0-43d9-abd5-e4d96a293e20", "name": "Successful Response", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/external-role-assignments/:assignment_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "external-role-assignments", ":assignment_id" ], "variable": [ { "key": "workspace_id" }, { "key": "assignment_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": \"\",\n \"source\": \"\",\n \"external_subject_key\": \"\",\n \"entity_id\": \"\",\n \"roles\": [\n \"\",\n \"\"\n ],\n \"roles_verified\": \"\",\n \"status\": \"suspended\",\n \"provisioned_via\": \"jit\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"external_subject_id\": \"\",\n \"display_name\": \"\",\n \"last_verified_at\": \"\"\n}", "createdAt": "2026-07-28T01:00:53.000Z", "updatedAt": "2026-07-28T01:00:53.000Z", "uid": "35240-819224be-c8e0-43d9-abd5-e4d96a293e20" }, { "id": "a59a309c-4eda-4844-878e-1eac6eafd77e", "name": "Assignment not found", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/external-role-assignments/:assignment_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "external-role-assignments", ":assignment_id" ], "variable": [ { "key": "workspace_id" }, { "key": "assignment_id" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:00:53.000Z", "updatedAt": "2026-07-28T01:00:53.000Z", "uid": "35240-a59a309c-4eda-4844-878e-1eac6eafd77e" }, { "id": "29acdd36-9493-4e34-a2d9-e0567f805dfb", "name": "Validation Error", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/external-role-assignments/:assignment_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "external-role-assignments", ":assignment_id" ], "variable": [ { "key": "workspace_id" }, { "key": "assignment_id" } ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"detail\": [\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\",\n \"input\": {\n \"title\": \"Input\"\n },\n \"ctx\": {}\n },\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\",\n \"input\": {\n \"title\": \"Input\"\n },\n \"ctx\": {}\n }\n ]\n}", "createdAt": "2026-07-28T01:00:53.000Z", "updatedAt": "2026-07-28T01:00:53.000Z", "uid": "35240-29acdd36-9493-4e34-a2d9-e0567f805dfb" } ], "createdAt": "2026-07-28T01:00:53.000Z", "updatedAt": "2026-07-28T01:00:53.000Z", "uid": "35240-e8a3b432-ac0f-4fff-9d8a-df7db7cc7855" }, { "name": "Delete External Role Assignment", "id": "17c675b4-ebd7-4cd2-b668-743f80e467e2", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "DELETE", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/external-role-assignments/:assignment_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "external-role-assignments", ":assignment_id" ], "variable": [ { "id": "980375d7-0bf4-4fd7-b684-69849e0717a8", "key": "workspace_id", "value": "", "description": "(Required) " }, { "id": "5a30e3a0-9fa7-4330-9beb-17308959dc3b", "key": "assignment_id", "value": "", "description": "(Required) " } ] } }, "response": [ { "id": "c563aa20-2eab-4956-878f-4200bb4205cb", "name": "Successful Response", "originalRequest": { "method": "DELETE", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/external-role-assignments/:assignment_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "external-role-assignments", ":assignment_id" ], "variable": [ { "key": "workspace_id" }, { "key": "assignment_id" } ] } }, "status": "No Content", "code": 204, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:00:53.000Z", "updatedAt": "2026-07-28T01:00:53.000Z", "uid": "35240-c563aa20-2eab-4956-878f-4200bb4205cb" }, { "id": "0e27a4c0-4f57-4997-99ba-cd6a8042779f", "name": "Assignment not found", "originalRequest": { "method": "DELETE", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/external-role-assignments/:assignment_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "external-role-assignments", ":assignment_id" ], "variable": [ { "key": "workspace_id" }, { "key": "assignment_id" } ] } }, "status": "Not Found", "code": 404, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T01:00:53.000Z", "updatedAt": "2026-07-28T01:00:53.000Z", "uid": "35240-0e27a4c0-4f57-4997-99ba-cd6a8042779f" }, { "id": "89c9e848-8270-4ea1-814f-5083d56ac819", "name": "Validation Error", "originalRequest": { "method": "DELETE", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/external-role-assignments/:assignment_id", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "external-role-assignments", ":assignment_id" ], "variable": [ { "key": "workspace_id" }, { "key": "assignment_id" } ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"detail\": [\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\",\n \"input\": {\n \"title\": \"Input\"\n },\n \"ctx\": {}\n },\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\",\n \"input\": {\n \"title\": \"Input\"\n },\n \"ctx\": {}\n }\n ]\n}", "createdAt": "2026-07-28T01:00:53.000Z", "updatedAt": "2026-07-28T01:00:53.000Z", "uid": "35240-89c9e848-8270-4ea1-814f-5083d56ac819" } ], "createdAt": "2026-07-28T01:00:53.000Z", "updatedAt": "2026-07-28T01:00:53.000Z", "uid": "35240-17c675b4-ebd7-4cd2-b668-743f80e467e2" } ], "id": "42be1133-7c94-496d-8517-e2bbba8b4929", "createdAt": "2026-07-28T01:00:53.000Z", "updatedAt": "2026-07-28T01:00:53.000Z", "uid": "35240-42be1133-7c94-496d-8517-e2bbba8b4929" }, { "name": "List External Role Assignments", "id": "c2c52056-c22e-407a-b111-a0296629726a", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/external-role-assignments?limit=50&title=Continuation Token", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "external-role-assignments" ], "query": [ { "key": "limit", "value": "50" }, { "key": "title", "value": "Continuation Token" } ], "variable": [ { "id": "fc549aa6-7be6-48ed-a2ec-cd7391a0f76f", "key": "workspace_id", "value": "", "description": "(Required) " } ] } }, "response": [ { "id": "a377664d-841e-4a3c-9da3-35ba0c7407f1", "name": "Successful Response", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/external-role-assignments?limit=50&title=Continuation Token", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "external-role-assignments" ], "query": [ { "key": "limit", "value": "50" }, { "key": "title", "value": "Continuation Token" } ], "variable": [ { "key": "workspace_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"items\": [\n {\n \"id\": \"\",\n \"source\": \"\",\n \"external_subject_key\": \"\",\n \"entity_id\": \"\",\n \"roles\": [\n \"\",\n \"\"\n ],\n \"roles_verified\": \"\",\n \"status\": \"suspended\",\n \"provisioned_via\": \"jit\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"external_subject_id\": \"\",\n \"display_name\": \"\",\n \"last_verified_at\": \"\"\n },\n {\n \"id\": \"\",\n \"source\": \"\",\n \"external_subject_key\": \"\",\n \"entity_id\": \"\",\n \"roles\": [\n \"\",\n \"\"\n ],\n \"roles_verified\": \"\",\n \"status\": \"suspended\",\n \"provisioned_via\": \"roster_sync\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"external_subject_id\": \"\",\n \"display_name\": \"\",\n \"last_verified_at\": \"\"\n }\n ],\n \"has_more\": \"\",\n \"continuation_token\": {\n \"title\": \"Continuation Token\"\n }\n}", "createdAt": "2026-07-28T01:00:53.000Z", "updatedAt": "2026-07-28T01:00:53.000Z", "uid": "35240-a377664d-841e-4a3c-9da3-35ba0c7407f1" }, { "id": "03cd8c4c-702e-42c1-979e-baa03d716d23", "name": "Validation Error", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}/v1/:workspace_id/external-role-assignments?limit=50&title=Continuation Token", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "external-role-assignments" ], "query": [ { "key": "limit", "value": "50" }, { "key": "title", "value": "Continuation Token" } ], "variable": [ { "key": "workspace_id" } ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"detail\": [\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\",\n \"input\": {\n \"title\": \"Input\"\n },\n \"ctx\": {}\n },\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\",\n \"input\": {\n \"title\": \"Input\"\n },\n \"ctx\": {}\n }\n ]\n}", "createdAt": "2026-07-28T01:00:53.000Z", "updatedAt": "2026-07-28T01:00:53.000Z", "uid": "35240-03cd8c4c-702e-42c1-979e-baa03d716d23" } ], "createdAt": "2026-07-28T01:00:53.000Z", "updatedAt": "2026-07-28T01:00:53.000Z", "uid": "35240-c2c52056-c22e-407a-b111-a0296629726a" }, { "name": "Upsert External Role Assignment", "id": "92da51d2-3425-4184-9058-f1ad239f1eb8", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "PUT", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"source\": \"\",\n \"external_subject_key\": \"\",\n \"entity_id\": \"\",\n \"provisioned_via\": \"roster_sync\",\n \"external_subject_id\": \"\",\n \"display_name\": \"\",\n \"roles\": [\n \"e62y5qwj2cv5yl5ovypv67dev6h01ojo_5zcj\",\n \"yw7prpt\"\n ],\n \"roles_verified\": false\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/external-role-assignments", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "external-role-assignments" ], "variable": [ { "id": "b087c380-05e2-4b16-bb7c-71f2c76a5f3a", "key": "workspace_id", "value": "", "description": "(Required) " } ] } }, "response": [ { "id": "9c4a088a-cfed-4ef4-86e7-a78768feda85", "name": "Successful Response", "originalRequest": { "method": "PUT", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"source\": \"\",\n \"external_subject_key\": \"\",\n \"entity_id\": \"\",\n \"provisioned_via\": \"roster_sync\",\n \"external_subject_id\": \"\",\n \"display_name\": \"\",\n \"roles\": [\n \"e62y5qwj2cv5yl5ovypv67dev6h01ojo_5zcj\",\n \"yw7prpt\"\n ],\n \"roles_verified\": false\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/external-role-assignments", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "external-role-assignments" ], "variable": [ { "key": "workspace_id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": \"\",\n \"source\": \"\",\n \"external_subject_key\": \"\",\n \"entity_id\": \"\",\n \"roles\": [\n \"\",\n \"\"\n ],\n \"roles_verified\": \"\",\n \"status\": \"suspended\",\n \"provisioned_via\": \"jit\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"external_subject_id\": \"\",\n \"display_name\": \"\",\n \"last_verified_at\": \"\"\n}", "createdAt": "2026-07-28T01:00:53.000Z", "updatedAt": "2026-07-28T01:00:53.000Z", "uid": "35240-9c4a088a-cfed-4ef4-86e7-a78768feda85" }, { "id": "2cc70e14-dc2d-4bc9-9fc6-ad778cf4c901", "name": "Validation Error", "originalRequest": { "method": "PUT", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"source\": \"\",\n \"external_subject_key\": \"\",\n \"entity_id\": \"\",\n \"provisioned_via\": \"roster_sync\",\n \"external_subject_id\": \"\",\n \"display_name\": \"\",\n \"roles\": [\n \"e62y5qwj2cv5yl5ovypv67dev6h01ojo_5zcj\",\n \"yw7prpt\"\n ],\n \"roles_verified\": false\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/:workspace_id/external-role-assignments", "host": [ "{{baseUrl}}" ], "path": [ "v1", ":workspace_id", "external-role-assignments" ], "variable": [ { "key": "workspace_id" } ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"detail\": [\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\",\n \"input\": {\n \"title\": \"Input\"\n },\n \"ctx\": {}\n },\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\",\n \"input\": {\n \"title\": \"Input\"\n },\n \"ctx\": {}\n }\n ]\n}", "createdAt": "2026-07-28T01:00:53.000Z", "updatedAt": "2026-07-28T01:00:53.000Z", "uid": "35240-2cc70e14-dc2d-4bc9-9fc6-ad778cf4c901" } ], "createdAt": "2026-07-28T01:00:53.000Z", "updatedAt": "2026-07-28T01:00:53.000Z", "uid": "35240-92da51d2-3425-4184-9058-f1ad239f1eb8" } ], "id": "93f3d7a2-3eb1-45ac-a8b3-4c4802fcf0d1", "createdAt": "2026-07-28T01:00:53.000Z", "updatedAt": "2026-07-28T01:00:53.000Z", "uid": "35240-93f3d7a2-3eb1-45ac-a8b3-4c4802fcf0d1" } ], "id": "d71c00b4-bb2f-4e53-a2f7-e2bc759f741c", "createdAt": "2026-07-28T01:00:53.000Z", "updatedAt": "2026-07-28T01:00:53.000Z", "uid": "35240-d71c00b4-bb2f-4e53-a2f7-e2bc759f741c" } ], "id": "b2789b7b-4d7c-4866-9490-d095598a7dc0", "createdAt": "2026-07-28T01:00:53.000Z", "updatedAt": "2026-07-28T01:00:53.000Z", "uid": "35240-b2789b7b-4d7c-4866-9490-d095598a7dc0" } ], "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "variable": [ { "key": "baseUrl", "value": "https://api.amigo.ai" } ] }