v1
latestOpenAPI 3.1.02026-07-2489171167.4 KBAgents
Update Agent Details
Update the details of an existing Agent identified by their SysAid ID. The new values provided will overwrite existing values.
patch/agents/{id}
Request body
Example request
{
"firstName": "John",
"lastName": "Doe",
"displayName": "John Doe",
"userEmail": "johndoe@sysaid.com",
"companyId": 342,
"departmentId": 342,
"locationId": 342,
"timezone": "Asia/Jerusalem",
"language": "en",
"managerId": 234,
"supervisorLevel": "department",
"jobTitle": "Engineering Director",
"permissionType": "user",
"version": 13
}Response
Agent updated successfully
Example response
{
"success": true,
"agent": {
"firstName": "John",
"lastName": "Doe",
"displayName": "John Doe",
"userEmail": "johndoe@sysaid.com",
"companyId": 342,
"departmentId": 342,
"locationId": 342,
"timezone": "Asia/Jerusalem",
"language": "en",
"managerId": 234,
"supervisorLevel": "department",
"jobTitle": "Engineering Director",
"permissionType": "user",
"userName": "johndoe",
"company": {
"name": "Alpha",
"address": "123 Main Street",
"address2": "Apt. 4B",
"city": "Washington",
"state": "Virginia",
"country": "USA",
"fax": "555-555-1234",
"notes": "Some notes about the company.",
"emailAccount": "company@mail.com",
"expirationDate": "30-12-2120",
"agreementId": 5,
"agreementStartDate": "22-10-2025",
"agreementEndDate": "01-08-2024",
"customFields": {
"company_cust_int_field": 5
},
"version": 5,
"id": 1
},
"groups": [
{
"name": "IT Support",
"supportLevel": 3,
"companyId": 1001,
"email": "support@example.com",
"receiveAutomaticSrEmailNotifications": true,
"canBeAssignedToServiceRecord": true,
"id": 123
}
],
"version": 13
}
}