User
Update User
Update an existing User
PATCH
/
v2
/
action
/
glasscore
/
user
/
{id}
curl --request PATCH \
--url https://api.glass.fm/v2/action/glasscore/user/{id} \
--header 'Content-Type: application/json' \
--data '{
"avatar": "<string>",
"email": "<string>",
"getInvoiceEmail": true,
"getMarketingEmail": true,
"getMarketingText": true,
"getOrderItemRegistrationEmail": true,
"getOrderItemRegistrationText": true,
"getOrderItemResultEmail": true,
"getOrderItemResultText": true,
"getOrderItemStatusEmail": true,
"getOrderItemStatusText": true,
"getOrgMonthRandomsEmail": true,
"isSuspended": true,
"nameFirst": "<string>",
"nameLast": "<string>",
"nickname": "<string>",
"phone": "<string>",
"RoleId": 123,
"UserOverride": [
{
"add": "<string>",
"blockDrop": true,
"delete": "<string>",
"edit": "<string>",
"EntityId": 123,
"get": "<string>",
"UserId": 123
}
]
}'
{
"avatar": "<string>",
"DropId": 123,
"email": "<string>",
"id": 123,
"isInvited": true,
"isSuspended": true,
"nameFirst": "<string>",
"nameFirstLast": "<string>",
"nameLast": "<string>",
"PersonId": 123,
"phone": "<string>",
"RoleId": 123,
"status": "<string>"
}
Path Parameters
The ID of the entity for this request.
Example:
5
Body
application/json
Response
200 - application/json
Updated User
The response is of type object
.
curl --request PATCH \
--url https://api.glass.fm/v2/action/glasscore/user/{id} \
--header 'Content-Type: application/json' \
--data '{
"avatar": "<string>",
"email": "<string>",
"getInvoiceEmail": true,
"getMarketingEmail": true,
"getMarketingText": true,
"getOrderItemRegistrationEmail": true,
"getOrderItemRegistrationText": true,
"getOrderItemResultEmail": true,
"getOrderItemResultText": true,
"getOrderItemStatusEmail": true,
"getOrderItemStatusText": true,
"getOrgMonthRandomsEmail": true,
"isSuspended": true,
"nameFirst": "<string>",
"nameLast": "<string>",
"nickname": "<string>",
"phone": "<string>",
"RoleId": 123,
"UserOverride": [
{
"add": "<string>",
"blockDrop": true,
"delete": "<string>",
"edit": "<string>",
"EntityId": 123,
"get": "<string>",
"UserId": 123
}
]
}'
{
"avatar": "<string>",
"DropId": 123,
"email": "<string>",
"id": 123,
"isInvited": true,
"isSuspended": true,
"nameFirst": "<string>",
"nameFirstLast": "<string>",
"nameLast": "<string>",
"PersonId": 123,
"phone": "<string>",
"RoleId": 123,
"status": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.