v1
latestOpenAPI 3.1.02026-07-24111290748.0 KBUpdate a user
Path parameters
The ID of the user to update. Use the ID 0 to update your user (current user).
Request body
Short biography of the user.
Country of the user
Email address of the user. password_confirmation field must be provided to change the email.
ID of the user in a foreign system (Stripe, Aircall, etc...). This field is not used by Gorgias, feel free to set it as you wish.
Language of the user.
Full name of the user.
New password of the user. old_password field must be provided when changing the password.
Current password of the user.
Current password of the user.
Timezone of the user.
Example request
{
"bio": "Full stack developer at Gorgias",
"country": "FR",
"email": "steve@company.com",
"external_id": "user-84203241",
"language": "fr",
"meta": {
"avatar_url": "https://avatars.example.com/steve-profile.jpeg",
"position": "engineer"
},
"name": "Steve Frazelli",
"new_password": "NewPassword6502!",
"old_password": "OldPassword5031!",
"password_confirmation": "OldPassword5031!",
"role": {
"name": "admin"
},
"timezone": "US/Pacific"
}Response
The updated user.
ID of the user.
Whether the user can log in.
Short biography of the user.
When the user was created.
Country of the user
When the user was deactivated.
Email address of the user. password_confirmation field must be provided to change the email.
ID of the user in a foreign system (Stripe, Aircall, etc...). This field is not used by Gorgias, feel free to set it as you wish.
First name of the user.
Last name of the user.
Language of the user.
Full name of the user.
Timezone of the user.
When the user was last updated.
Service account associated application ID.
Example response
{
"id": 3924,
"active": true,
"bio": "Full stack developer at Gorgias",
"created_datetime": "2019-04-13T03:27:56.973873",
"country": "FR",
"email": "steve@company.com",
"external_id": "user-84203241",
"firstname": "Steve",
"lastname": "Frazeli",
"language": "fr",
"meta": {
"avatar_url": "https://avatars.example.com/steve-profile.jpeg",
"position": "engineer"
},
"name": "Steve Frazelli",
"role": {
"name": "admin"
},
"timezone": "US/Pacific",
"updated_datetime": "2019-09-25T06:18:22.839271",
"client_id": "74ef4b177"
}