Skip to main content
PATCH
/
vLatest
/
action
/
glasscore
/
user
/
{id}
Update User
curl --request PATCH \
  --url https://api.glass.fm/vLatest/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

id
number
required

The ID of the entity for this request.

Example:

5

Body

application/json
avatar
string

URL or identifier for the user's profile image.

email
string

The email address associated with the user's account.

getInvoiceEmail
boolean | null
getMarketingEmail
boolean | null
getMarketingText
boolean | null
getOrderItemRegistrationEmail
boolean | null
getOrderItemRegistrationText
boolean | null
getOrderItemResultEmail
boolean | null
getOrderItemResultText
boolean | null
getOrderItemStatusEmail
boolean | null
getOrderItemStatusText
boolean | null
getOrgMonthRandomsEmail
boolean | null
isSuspended
boolean | null

Indicates whether the user's account is currently suspended.

nameFirst
string

The user's first name.

nameLast
string

The user's last name.

nickname
string
phone
string

The user's phone number.

RoleId
number

Identifier for the user's role or permission level.

UserOverride
object[]

Response

200 - application/json

Updated User

avatar
string
required

URL or identifier for the user's profile image.

DropId
number | null
required

Identifier number for the tenant ID of the user.

email
string
required

The email address associated with the user's account.

id
number
required

Unique identifier for the user.

isInvited
boolean | null
required

Indicates whether the user has been invited but not yet registered.

isSuspended
boolean | null
required

Indicates whether the user's account is currently suspended.

nameFirst
string
required

The user's first name.

nameFirstLast
string
required

The user's full name in 'First Last' format.

nameLast
string
required

The user's last name.

PersonId
number | null
required

Identifier for the associated person record, nullable if not linked.

phone
string
required

The user's phone number.

RoleId
number
required

Identifier for the user's role or permission level.

status
string
required

Current status of the user's account (e.g., active, inactive, pending).