PUT

Change Role


Updates all of a contributor's roles for the specified site, overriding any existing roles.

Replaces all existing role assignments for the contributor with the roles specified in newRoles. To retrieve available roles, call Get Roles Info.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Contributors
Learn more about app permissions.
Endpoint
PUT
https://www.wixapis.com/roles-management/contributor/change/role

Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?