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

Path Params
integer
required
Body Params
integer
required

Group's Id. It corresponds to the roles - Manage, Read, Write.

To know the id can be consulted with the endpoint /user/roles.

integer

Application's Id on which the permits will be applied

integer

Identification of the account to which the permissions are to be applied

integer
required

User's Id to whom the permissions are granted

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json