{ "opencollection": "1.0.0", "info": { "name": "Sana Assignments Users API", "version": "0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Users", "type": "folder" }, "items": [ { "info": { "name": "List all users.", "type": "http" }, "http": { "method": "GET", "url": "https://.sana.ai/api/v0/users" }, "docs": "List all users." }, { "info": { "name": "Create a user.", "type": "http" }, "http": { "method": "POST", "url": "https://.sana.ai/api/v0/users" }, "docs": "Create a user." }, { "info": { "name": "Get a user.", "type": "http" }, "http": { "method": "GET", "url": "https://.sana.ai/api/v0/users/:userId", "params": [ { "name": "userId", "value": "", "type": "path" } ] }, "docs": "Get a user." }, { "info": { "name": "Update a user.", "type": "http" }, "http": { "method": "PATCH", "url": "https://.sana.ai/api/v0/users/:userId", "params": [ { "name": "userId", "value": "", "type": "path" } ] }, "docs": "Update a user." }, { "info": { "name": "Delete a user.", "type": "http" }, "http": { "method": "DELETE", "url": "https://.sana.ai/api/v0/users/:userId", "params": [ { "name": "userId", "value": "", "type": "path" } ] }, "docs": "Delete a user." }, { "info": { "name": "Send an invite to a user.", "type": "http" }, "http": { "method": "POST", "url": "https://.sana.ai/api/v0/users/:userId/send-invite", "params": [ { "name": "userId", "value": "", "type": "path" } ] }, "docs": "Send an invite to a user." }, { "info": { "name": "Generate a new invite link for a user.", "type": "http" }, "http": { "method": "POST", "url": "https://.sana.ai/api/v0/users/:userId/invite-link", "params": [ { "name": "userId", "value": "", "type": "path" } ] }, "docs": "Generate a new invite link for a user." }, { "info": { "name": "List a user's groups.", "type": "http" }, "http": { "method": "GET", "url": "https://.sana.ai/api/v0/users/:userId/groups", "params": [ { "name": "userId", "value": "", "type": "path" } ] }, "docs": "List a user's groups." }, { "info": { "name": "Set a user's manager.", "type": "http" }, "http": { "method": "PUT", "url": "https://.sana.ai/api/v0/users/:userId/manager/:managerId", "params": [ { "name": "userId", "value": "", "type": "path" }, { "name": "managerId", "value": "", "type": "path" } ] }, "docs": "Set a user's manager." }, { "info": { "name": "Delete a user's manager.", "type": "http" }, "http": { "method": "DELETE", "url": "https://.sana.ai/api/v0/users/:userId/manager", "params": [ { "name": "userId", "value": "", "type": "path" } ] }, "docs": "Delete a user's manager." } ] } ], "bundled": true }