API reference
Platform
- Search
- Users
- Teams
- Tickets
- Tags
- Ticket tags
- Accounts
- Forms
- Comments
- Emoji actions
- Custom object fields
- Custom objects
- Object records
- Views
- Views types
- Draft tickets
- Storage
- Reactions
Workflows
- Workflows
Apps platform
- App creation
- App installation
- App uninstallation
- App reinstallation
- Incoming webhook
Users
Update your user details
PATCH
/
v1
/
users
Copy
Ask AI
curl --request PATCH \
--url https://platform.thena.ai/v1/users \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "John Doe",
"avatarUrl": "https://example.com/avatar.png"
}'
Copy
Ask AI
{
"id": "<string>",
"name": "<string>",
"email": "<string>",
"userType": "<string>",
"status": "<string>",
"isActive": true,
"lastLoginAt": "<string>",
"avatarUrl": "<string>",
"timezone": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
Authorizations
Enter your API key
Body
application/json
Response
200
application/json
Operation successful
The response is of type object
.
Copy
Ask AI
curl --request PATCH \
--url https://platform.thena.ai/v1/users \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "John Doe",
"avatarUrl": "https://example.com/avatar.png"
}'
Copy
Ask AI
{
"id": "<string>",
"name": "<string>",
"email": "<string>",
"userType": "<string>",
"status": "<string>",
"isActive": true,
"lastLoginAt": "<string>",
"avatarUrl": "<string>",
"timezone": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.