Set specific permission to user with given id

Set permissions for the selected user.
Requires this data: Id group of permissions (groupId: this id is unique by application and relates the application with a type of role. Check with the endpoint /user/roles. Id of the application (applicationId) * Id of the user (userId).
Only necessary for role user type 'application_user'.

IMPORTANT
To set permissions for super users the applicationId or accountId must be specified. The user of the request must have permissions on the account of the user to be given permissions and on the account to be given permissions.
Only can give account permissions to super users

Language
Authorization
Header
Click Try It! to start a request and see the response here!