PUT
/
v2
/
user
curl --request PUT \
  --url https://api.sonderplan.com/v2/user \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "first_name": "Jane",
  "last_name": "Smith",
  "primary_email": "[email protected]",
  "username": "jsmith",
  "group_id": 9223,
  "timezone": "Australia/Sydney",
  "locale": "en_US",
  "date_format": "d/m/Y",
  "time_format": "1",
  "notification": true,
  "expires": 123,
  "schedule_view_mode": 123
}'
{
  "success": {
    "id": 2384
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

id
string
required

The ID of the user you wish to update

Body

application/json

Attributes pertaining to users

Response

200
application/json

Successful Operation

The response is of type object.