users

Bulk edits user roles for a user. The operation will delete the assigned user roles provided in BulkEditAssignedUserRolesRequest.deletedAssignedUserRoles and then assign the user roles provided in BulkEditAssignedUserRolesRequest.createdAssignedUserRoles. This method has unique authentication requirements. Read the prerequisites in our Managing Users guide before using this method. The "Try this method" feature does not work for this method.

post/v4/users/{+userId}:bulkEditAssignedUserRoles

Request

  • Base URL: https://displayvideo.googleapis.com
  • URL: https://displayvideo.googleapis.com/v4/users/{+userId}:bulkEditAssignedUserRoles
  • Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/display-video-user-management) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/display-video-user-management)

Path parameters

userIdstring required

Required. The ID of the user to which the assigned user roles belong.

Request body

deletedAssignedUserRolesstring[]

The assigned user roles to delete in batch, specified as a list of assigned_user_role_ids. The format of assigned_user_role_id is entityType-entityid, for example partner-123.

Response

Successful response

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status