changeRole( )


Overrides all the roles of a contributor for the specified site.

Method Declaration
Copy
Method Parameters
accountIdstringRequired

Contributor's account ID.


optionsChangeRoleOptionsRequired

Filter options. The newRoles field must be passed.

Returns
Return Type:Promise<ChangeContributorRoleResponse>
Errors

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

Did this help?