Update user roles

Replace all account roles for a user with the provided list. The body is a bare JSON array of role names, not an object, and it replaces every role the user has on the account, e.g. ["admin","auth_alerts"].

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

User ID or email address

Query Params
string

The account ID. Defaults to the user's default account.

Body Params

The roles to assign to the user (replaces all existing roles). Valid roles: admin, authed2, content_manager, segment_manager, marketer, data_manager, campaign_manager, observer, data_write, user_search, report_viewer, report_manager, orchestrate, experience_manager, developer_free, job_alerts, metrics_rule_alerts, auth_alerts.

Responses

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