Path Parameters
Provide the unique identifier of the project.
"proj_TrlkLiH4"
Provide the unique identifier of the user. Alternatively, provide the user's login.
"user_v18mvPOjOXE5733eO4cAz8k1pn492wKK"
Body
Defines the user's new role.
The role of the user to be added. It can be a custom role or one of following predefined roles:
ADMIN
, USER
, VIEWER
, MERCHANT
or an ID of a custom role..
Response
Returns the details about the user assigned to the project.
Details about the user assigned to the project. Details about the user.
The unique identifier of the user who has been assigned to the project.
The login data of the user who has been assigned to the project.
The email address of the user who has been assigned to the project.
The first name of the user who has been assigned to the project.
The last name of the user who has been assigned to the project.
Lists key-value pairs, where the key is the project to which the user is assigned. The value is the role assigned in a given project. The predefined Voucherify roles are: ADMIN
, USER
, VIEWER
, MERCHANT
, USER_RESTRICTED
(for the Areas and Stores, an Enterprise feature).
Determines if the user is the owner for the organization in Voucherify.