Update a user

POST /users/{user_id}

In addition to the default user fields, you can also update custom fields added via the vendor attributes or HivePress extensions.

Path parameters

application/json

Body

Responses

POST /users/{user_id}
curl \
 --request POST '/wp-json/hivepress/v1/users/{user_id}' \
 --header "Content-Type: application/json" \
 --data '{"first_name":"string","last_name":"string","description":"string"}'
Request examples
{
  "first_name": "string",
  "last_name": "string",
  "description": "string"
}