Supported Formats

json

Params

Param name Description
id
required

The ID of the user to promote.

Validations:

  • Must be a String

role
required

The role to promote the user to, for example staff_role or admin.

Validations:

  • Must be a String