{ "opencollection": "1.0.0", "info": { "name": "Cumulocity User API", "version": "10.20.0" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Users", "type": "folder" }, "items": [ { "info": { "name": "List Users", "type": "http" }, "http": { "method": "GET", "url": "https://{tenant}.cumulocity.com/user/:tenantId/users", "params": [ { "name": "tenantId", "value": "", "type": "path" } ] }, "docs": "List Users" }, { "info": { "name": "Create a User", "type": "http" }, "http": { "method": "POST", "url": "https://{tenant}.cumulocity.com/user/:tenantId/users", "params": [ { "name": "tenantId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a User" }, { "info": { "name": "Retrieve a User", "type": "http" }, "http": { "method": "GET", "url": "https://{tenant}.cumulocity.com/user/:tenantId/users/:userId", "params": [ { "name": "tenantId", "value": "", "type": "path" }, { "name": "userId", "value": "", "type": "path" } ] }, "docs": "Retrieve a User" }, { "info": { "name": "Update a User", "type": "http" }, "http": { "method": "PUT", "url": "https://{tenant}.cumulocity.com/user/:tenantId/users/:userId", "params": [ { "name": "tenantId", "value": "", "type": "path" }, { "name": "userId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a User" }, { "info": { "name": "Delete a User", "type": "http" }, "http": { "method": "DELETE", "url": "https://{tenant}.cumulocity.com/user/:tenantId/users/:userId", "params": [ { "name": "tenantId", "value": "", "type": "path" }, { "name": "userId", "value": "", "type": "path" } ] }, "docs": "Delete a User" } ] }, { "info": { "name": "Groups", "type": "folder" }, "items": [ { "info": { "name": "List Groups", "type": "http" }, "http": { "method": "GET", "url": "https://{tenant}.cumulocity.com/user/:tenantId/groups", "params": [ { "name": "tenantId", "value": "", "type": "path" } ] }, "docs": "List Groups" }, { "info": { "name": "Create a Group", "type": "http" }, "http": { "method": "POST", "url": "https://{tenant}.cumulocity.com/user/:tenantId/groups", "params": [ { "name": "tenantId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a Group" }, { "info": { "name": "Retrieve a Group", "type": "http" }, "http": { "method": "GET", "url": "https://{tenant}.cumulocity.com/user/:tenantId/groups/:groupId", "params": [ { "name": "tenantId", "value": "", "type": "path" }, { "name": "groupId", "value": "", "type": "path" } ] }, "docs": "Retrieve a Group" }, { "info": { "name": "Update a Group", "type": "http" }, "http": { "method": "PUT", "url": "https://{tenant}.cumulocity.com/user/:tenantId/groups/:groupId", "params": [ { "name": "tenantId", "value": "", "type": "path" }, { "name": "groupId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a Group" }, { "info": { "name": "Delete a Group", "type": "http" }, "http": { "method": "DELETE", "url": "https://{tenant}.cumulocity.com/user/:tenantId/groups/:groupId", "params": [ { "name": "tenantId", "value": "", "type": "path" }, { "name": "groupId", "value": "", "type": "path" } ] }, "docs": "Delete a Group" } ] }, { "info": { "name": "Roles", "type": "folder" }, "items": [ { "info": { "name": "List Global Roles", "type": "http" }, "http": { "method": "GET", "url": "https://{tenant}.cumulocity.com/user/roles" }, "docs": "List Global Roles" } ] }, { "info": { "name": "Current User", "type": "folder" }, "items": [ { "info": { "name": "Retrieve Current User", "type": "http" }, "http": { "method": "GET", "url": "https://{tenant}.cumulocity.com/user/currentUser" }, "docs": "Retrieve Current User" }, { "info": { "name": "Update Current User", "type": "http" }, "http": { "method": "PUT", "url": "https://{tenant}.cumulocity.com/user/currentUser", "body": { "type": "json", "data": "{}" } }, "docs": "Update Current User" } ] } ], "bundled": true }