Body
-
name
string Required Minimum length is
1
, maximum length is255
. -
email
string(email) Required Minimum length is
1
, maximum length is255
. -
userGroups
array[integer(int32)] Required
Requires verified email; Requires one of the following permissions: Users.UpdateUser; Requires the following features to be enabled: Users
Minimum length is 1
, maximum length is 255
.
Minimum length is 1
, maximum length is 255
.
curl \
-X PATCH https://app.lovassy.hu/Api/Users/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"string","email":"hello@example.com","userGroups":[42]}'
curl \
-X PATCH https://app.lovassy.hu/Api/Users/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: text/json"
curl \
-X PATCH https://app.lovassy.hu/Api/Users/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/*+json"
{
"name": "string",
"email": "hello@example.com",
"userGroups": [
42
]
}
{
"name": "string",
"email": "hello@example.com",
"userGroups": [
42
]
}
{
"name": "string",
"email": "hello@example.com",
"userGroups": [
42
]
}
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}