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 \
 -X POST /wp-json/hivepress/v1/users/{user_id} \
 -H "Content-Type: application/json" \
 -d '{"first_name":"string","last_name":"string","description":"string"}'
Request example
{
  "first_name": "string",
  "last_name": "string",
  "description": "string"
}