Skip to content
Profiles

Update Profileexperimental

POST/api/me/profile/update

Update a user’s mutable attributes. At least one field must be provided in the request.

Request body

  • emailoptional string
    Email address.
  • familyNameoptional string
    Last name.
  • featureUpdatesoptional boolean
    Whether a user would like to receive emails for feature updates.
  • givenNameoptional string
    First name.
  • marketingUpdatesoptional boolean
    Whether a user would like to receive emails for marketing updates.

Responses

Request
curl -X POST https://service.centrapay.com/api/me/profile/update \
-H 'authorization: <TOKEN>' \
-H 'content-type: application/json' \
-d '{
"email": "john.doe@centrapay.com",
"familyName": "Doe",
"featureUpdates": false,
"givenName": "John",
"marketingUpdates": true
}'