PUT
/
frontend
/
api
/
v1
/
user
/
{user-id}
curl --request PUT \
  --url https://{host}/frontend/api/v1/user/{user-id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "first-name": "J",
  "last-name": "Doe"
}'
{
  "additional-emails": [
    "<string>"
  ],
  "created": "2023-11-07T05:31:56Z",
  "email": "theUser@probe.dev",
  "first-name": "J",
  "id": 1,
  "last-name": "Doe",
  "parent": {
    "email": "theUser@probe.dev",
    "id": 1,
    "role": "root",
    "status": "anonymous",
    "username": "theUser"
  },
  "permissions": {},
  "plan": {
    "expires": "2023-11-07T05:31:56Z",
    "id": 1,
    "name": "<string>"
  },
  "role": "root",
  "status": "anonymous",
  "updated": "2023-11-07T05:31:56Z",
  "username": "theUser"
}

Authorizations

Authorization
string
header
required

API Key Security (Header).

Path Parameters

user-id
integer
required

User ID.

Required range: x >= 1

Body

application/json

Response

200
application/json

OK

The response is of type object.