{ "opencollection": "1.0.0", "info": { "name": "Multi-Apps Overview Account Invitations Users-applications Management API", "version": "1.0" }, "items": [ { "info": { "name": "Users-applications Management", "type": "folder" }, "items": [ { "info": { "name": "Get Users for Application", "type": "http" }, "http": { "method": "GET", "url": "https://api.frontegg.com/applications/resources/applications/v1/:appId/users", "params": [ { "name": "appId", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Retrieve users for an application.\n\nProvide the application ID as a path parameter." }, { "info": { "name": "Get Applications for User", "type": "http" }, "http": { "method": "GET", "url": "https://api.frontegg.com/applications/resources/applications/v1/:userId/apps", "params": [ { "name": "userId", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Retrieve applications for a user.\n\nProvide the user's ID as a path parameter" }, { "info": { "name": "Assign Users to Application", "type": "http" }, "http": { "method": "POST", "url": "https://api.frontegg.com/applications/resources/applications/v1", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Assign users to an application.\n\nProvide the application ID as a path parameter and the user IDs in the request body." }, { "info": { "name": "Unassign Users From Application", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.frontegg.com/applications/resources/applications/v1", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Unassign users from an application.\n\nProvide the application ID as a path parameter and the user IDs in the request body." }, { "info": { "name": "Get User Active Accounts (tenants) in Applications", "type": "http" }, "http": { "method": "GET", "url": "https://api.frontegg.com/applications/resources/applications/user-tenants/active/v1", "headers": [ { "name": "frontegg-user-id", "value": "" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Retrieve the active accounts (tenants) of a user for an application.\n\nProvide the application ID and the user ID as path parameters." }, { "info": { "name": "Switch Users Active Account (tenant) in Applications", "type": "http" }, "http": { "method": "PUT", "url": "https://api.frontegg.com/applications/resources/applications/user-tenants/active/v1", "headers": [ { "name": "frontegg-user-id", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update the active accounts (tenants) of a user for an application.\n\nProvide the application ID and the user ID as path parameters and the updated list of account (tenant) IDs in the request body." } ] } ], "bundled": true }