{ "opencollection": "1.0.0", "info": { "name": "Lightdash AiAgents Project Roles API", "version": "0.3156.1" }, "items": [ { "info": { "name": "Project Roles", "type": "folder" }, "items": [ { "info": { "name": "List project role assignments", "type": "http" }, "http": { "method": "GET", "url": "/api/v2/projects/:projectId/roles/assignments", "params": [ { "name": "projectId", "value": "", "type": "path" } ] }, "docs": "List project role assignments" }, { "info": { "name": "Assign project role to user", "type": "http" }, "http": { "method": "POST", "url": "/api/v2/projects/:projectId/roles/assignments/user/:userId", "params": [ { "name": "projectId", "value": "", "type": "path" }, { "name": "userId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create or update project role assignment for user (upsert)" }, { "info": { "name": "Remove project role from user", "type": "http" }, "http": { "method": "DELETE", "url": "/api/v2/projects/:projectId/roles/assignments/user/:userId", "params": [ { "name": "projectId", "value": "", "type": "path" }, { "name": "userId", "value": "", "type": "path" } ] }, "docs": "Delete project role assignment for user" }, { "info": { "name": "Assign project role to group", "type": "http" }, "http": { "method": "POST", "url": "/api/v2/projects/:projectId/roles/assignments/group/:groupId", "params": [ { "name": "projectId", "value": "", "type": "path" }, { "name": "groupId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create or update project role assignment for group (upsert)" }, { "info": { "name": "Update project group role", "type": "http" }, "http": { "method": "PATCH", "url": "/api/v2/projects/:projectId/roles/assignments/group/:groupId", "params": [ { "name": "projectId", "value": "", "type": "path" }, { "name": "groupId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update project role assignment for group" }, { "info": { "name": "Remove project role from group", "type": "http" }, "http": { "method": "DELETE", "url": "/api/v2/projects/:projectId/roles/assignments/group/:groupId", "params": [ { "name": "projectId", "value": "", "type": "path" }, { "name": "groupId", "value": "", "type": "path" } ] }, "docs": "Delete project role assignment for group" } ] } ], "bundled": true }