{ "opencollection": "1.0.0", "info": { "name": "TetraScience Data and AI Cloud Access Groups Users API", "version": "4.0" }, "request": { "auth": { "type": "apikey", "key": "ts-auth-token", "value": "{{ts-auth-token}}", "placement": "header" } }, "items": [ { "info": { "name": "Users", "type": "folder" }, "items": [ { "info": { "name": "Get current user details", "type": "http" }, "http": { "method": "GET", "url": "https://api.tetrascience.com/v1/users/me" }, "docs": "Get current user details" }, { "info": { "name": "Get user roles in the organization matching the orgSlug", "type": "http" }, "http": { "method": "GET", "url": "https://api.tetrascience.com/v1/users/:userId/roles" }, "docs": "Get user roles in the organization matching the orgSlug" }, { "info": { "name": "Add new roles for a user", "type": "http" }, "http": { "method": "POST", "url": "https://api.tetrascience.com/v1/users/:userId/roles", "body": { "type": "json", "data": "{}" } }, "docs": "Add new roles for a user" }, { "info": { "name": "Update the roles for a user", "type": "http" }, "http": { "method": "PUT", "url": "https://api.tetrascience.com/v1/users/:userId/roles", "body": { "type": "json", "data": "{}" } }, "docs": "Update the roles for a user" }, { "info": { "name": "Get user by ID", "type": "http" }, "http": { "method": "GET", "url": "https://api.tetrascience.com/v1/users/:userId" }, "docs": "Get user by ID" }, { "info": { "name": "Update user by ID", "type": "http" }, "http": { "method": "PUT", "url": "https://api.tetrascience.com/v1/users/:userId", "body": { "type": "json", "data": "{}" } }, "docs": "Update user by ID" }, { "info": { "name": "Set default organization", "type": "http" }, "http": { "method": "POST", "url": "https://api.tetrascience.com/v1/users/me/organizations", "body": { "type": "json", "data": "{}" } }, "docs": "Set default organization" }, { "info": { "name": "Revoke user token", "type": "http" }, "http": { "method": "POST", "url": "https://api.tetrascience.com/v1/users/:userId/token/revoke", "body": { "type": "json", "data": "{}" } }, "docs": "Revoke user token" }, { "info": { "name": "Create user token", "type": "http" }, "http": { "method": "POST", "url": "https://api.tetrascience.com/v1/users/:userId/token", "body": { "type": "json", "data": "{}" } }, "docs": "Create user token" }, { "info": { "name": "Update current user's password", "type": "http" }, "http": { "method": "PUT", "url": "https://api.tetrascience.com/v1/users/me/password", "body": { "type": "json", "data": "{}" } }, "docs": "Update current user's password" }, { "info": { "name": "Update a user's password", "type": "http" }, "http": { "method": "PUT", "url": "https://api.tetrascience.com/v1/users/:userId/resetPassword", "body": { "type": "json", "data": "{}" } }, "docs": "Update a user's password" }, { "info": { "name": "Update user status in the organization", "type": "http" }, "http": { "method": "PUT", "url": "https://api.tetrascience.com/v1/users/:userId/status", "body": { "type": "json", "data": "{}" } }, "docs": "Update user status in the organization" }, { "info": { "name": "Unlock user", "type": "http" }, "http": { "method": "PUT", "url": "https://api.tetrascience.com/v1/users/:userId/unlock", "body": { "type": "json", "data": "{}" } }, "docs": "Unlock user" } ] } ], "bundled": true }