Instance
Billable Item
Booking
Calendar Subscription
Invoice
Quote
Invoice Template
Project
Time Activity
User
Update User
WRITE
access to the ADMIN
module is required to access this endpointPUT
/
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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
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
.
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
}
}