# Users-applications management ## Get users for application - [GET /resources/applications/v1/{appId}/users](https://developers.frontegg.com/ciam/api/identity/users-applications-management/applicationscontrollerv1_getusersforapplication.md): Retrieve users for an application. Provide the application ID as a path parameter. ## Get applications for user - [GET /resources/applications/v1/{userId}/apps](https://developers.frontegg.com/ciam/api/identity/users-applications-management/applicationscontrollerv1_getapplicationsforuser.md): Retrieve applications for a user. Provide the user's ID as a path parameter ## Assign users to application - [POST /resources/applications/v1](https://developers.frontegg.com/ciam/api/identity/users-applications-management/applicationscontrollerv1_assignuserstoapplication.md): Assign users to an application. Provide the application ID as a path parameter and the user IDs in the request body. ## Unassign users from application - [DELETE /resources/applications/v1](https://developers.frontegg.com/ciam/api/identity/users-applications-management/applicationscontrollerv1_unassignusersfromapplication.md): Unassign users from an application. Provide the application ID as a path parameter and the user IDs in the request body. ## Get user active accounts (tenants) in applications - [GET /resources/applications/user-tenants/active/v1](https://developers.frontegg.com/ciam/api/identity/users-applications-management/applicationsactiveusertenantscontrollerv1_getuserapplicationactivetenants.md): Retrieve the active accounts (tenants) of a user for an application. Provide the application ID and the user ID as path parameters. ## Switch users active account (tenant) in applications - [PUT /resources/applications/user-tenants/active/v1](https://developers.frontegg.com/ciam/api/identity/users-applications-management/applicationsactiveusertenantscontrollerv1_switchuserapplicationactivetenant.md): Update the active accounts (tenants) of a user for an application. Provide the application ID and the user ID as path parameters and the updated list of account (tenant) IDs in the request body.