Skip to main content

Update Config

Updates advanced configuration settings for a specified user account, including notification preferences, cell phone contact information, and other user-level options.

Endpoint​

POST /v2/users/update-config

Request Body​

FieldTypeRequiredConstraintsDescription
userIdintegerYesMust be an existing userID of the user whose configuration to update

Additional configuration fields are passed alongside userId. Omit any field to leave its current value unchanged.

{
"userId": 1042
}

Response​

Returns a boolean indicating whether the configuration was successfully updated.

{
"success": true,
"data": true
}

Code Examples​

curl -X POST "https://rest.ecgrid.io/v2/users/update-config" \
-H "X-API-Key: $ECGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "userId": 1042 }'

See Also​

  • Update User — update core profile fields (name, email)
  • Set Role — change the user's AuthLevel
  • Set Network Mailbox — change the user's network or mailbox context
  • Send SMS — send a message using the cell carrier configured here