younifyd
Menu

Update User

Update User

PUT/management/v1/projects/{projectId}/users/{userId}

Use it in a workflow

  1. Add a step and choose the Voucherify connector.
  2. Pick the Update User action (under Management).
  3. Fill in the fields below, then reference the result from later steps as {{updateUser.response.data}}.

Request

Path parameters

projectIdstringrequired

Provide the unique identifier of the project.

userIdstringrequired

Provide the unique identifier of the user. Alternatively, provide the user's login.

Request body

Enter the body as JSON in the step's Body field.

rolestring

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.

json
{
  "role": "string"
}

Response

Returns 200 with an object. Read it in later steps with {{updateUser.response.data.<field>}}.

Need more? See the Voucherify guide for connection setup and behaviour shared by every action.

Update User — Voucherify — Documentation