{ "opencollection": "1.0.0", "info": { "name": "Amigo Account Role Grants API", "version": "0.1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Role Grants", "type": "folder" }, "items": [ { "info": { "name": "List Role Grants", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/role-grants", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "sort_by", "value": "", "type": "query" }, { "name": "limit", "value": "", "type": "query" }, { "name": "continuation_token", "value": "", "type": "query" }, { "name": "status", "value": "", "type": "query" } ] }, "docs": "List Role Grants" }, { "info": { "name": "Create Role Grant", "type": "http" }, "http": { "method": "POST", "url": "https://api.amigo.ai/v1/:workspace_id/role-grants", "params": [ { "name": "workspace_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create Role Grant" }, { "info": { "name": "Get Role Grant", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/role-grants/:grant_id", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "grant_id", "value": "", "type": "path" } ] }, "docs": "Get Role Grant" }, { "info": { "name": "Delete Role Grant", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.amigo.ai/v1/:workspace_id/role-grants/:grant_id", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "grant_id", "value": "", "type": "path" } ] }, "docs": "Supersede an active grant (immutable history) — never a physical delete." } ] } ], "bundled": true }