# Assign user consent scopes to application. **POST /api/applications/{applicationId}/user-consent-scopes** Assign the user consent scopes to an application by application id ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters #### Path parameters - **applicationId** (string) The unique identifier of the application. ## Body parameters Content-type: application/json - **organizationScopes** (array[string]) A list of organization scope id to assign to the application. Throws error if any given organization scope is not found. - **resourceScopes** (array[string]) A list of resource scope id to assign to the application. Throws error if any given resource scope is not found. - **organizationResourceScopes** (array[string]) A list of organization resource scope id to assign to the application. Throws error if any given resource scope is not found. - **userScopes** (array[string]) A list of user scope enum value to assign to the application. ## Responses ### 201: All the user consent scopes are assigned to the application successfully ### 400: Bad Request ### 401: Unauthorized ### 403: Forbidden ### 404: The application is not found ### 422: Any of the given organization scope, resource scope or user scope is not found [Powered by Bump.sh](https://bump.sh)