AI-generated Key Takeaways
-
Inserts a new user role via a POST request to the specified endpoint.
-
Requires
profileId
as a path parameter to identify the user profile. -
The request body should contain a
UserRole
object defining the new role. -
A successful response returns the newly created
UserRole
object. -
Authorization requires the
dfatrafficking
scope.
Inserts a new user role.
HTTP request
POST https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/userRoles
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
profileId |
User profile ID associated with this request. |
Request body
The request body contains an instance of UserRole
.
Response body
If successful, the response body contains a newly created instance of UserRole
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/dfatrafficking