updatePerson
Modify user details in Teamwork, including timezone, name, email, job title, and permissions, using the person ID to identify and update specific records.
Instructions
Update a person in Teamwork. This endpoint allows you to modify user information like timezone, name, email, etc.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
administrator | No | Make this person an administrator | |
company-id | No | ID of the company the person belongs to | |
email-address | No | Email address of the person | |
first-name | No | First name of the person | |
last-name | No | Last name of the person | |
personId | Yes | The ID of the person to update | |
phone-number-office | No | Office phone number | |
timezoneId | No | Timezone ID for the person | |
title | No | Job title or position of the person | |
user-type | No | User type (account, collaborator, contact) |
Input Schema (JSON Schema)
{
"properties": {
"administrator": {
"description": "Make this person an administrator",
"type": "boolean"
},
"company-id": {
"description": "ID of the company the person belongs to",
"type": "integer"
},
"email-address": {
"description": "Email address of the person",
"type": "string"
},
"first-name": {
"description": "First name of the person",
"type": "string"
},
"last-name": {
"description": "Last name of the person",
"type": "string"
},
"personId": {
"description": "The ID of the person to update",
"type": "integer"
},
"phone-number-office": {
"description": "Office phone number",
"type": "string"
},
"timezoneId": {
"description": "Timezone ID for the person",
"type": "integer"
},
"title": {
"description": "Job title or position of the person",
"type": "string"
},
"user-type": {
"description": "User type (account, collaborator, contact)",
"type": "string"
}
},
"required": [
"personId"
],
"type": "object"
}