Method: accounts.roleAssignments.create

Creates a new role assignment.

You can only use this method if the specified email is already associated with a Waze user. The target user is granted an immediate role over the specified account.

If the email isn't associated with a Waze user, an error is returned.

Any PENDING Invitation for the same email are accepted. For email addresses that are not associated with a Waze user, use InvitationService.CreateInvitation to send an invitation.

HTTP request

POST https://ads.wazeapis.com/v1/{parent=accounts/*}/roleAssignments

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The account under which to create this role assignment.

Request body

The request body contains an instance of RoleAssignment.

Response body

If successful, the response body contains a newly created instance of RoleAssignment.