Update an Agent

Update the details of an existing Agent. The API changes only the fields that you include in the request body. The request body must include the current version of the Agent.

Path Params
int64
required

The unique identifier of the Agent in SysAid.

Query Params
expand
array of strings, unique

The related entities to include in the response. "groups" adds the groups of the user. "company" adds the company of the user.

Body Params
string
length ≤ 64

The first name of the user. The maximum length is 64 characters.

string
length ≤ 64

The last name of the user. The maximum length is 64 characters.

string

The user's display name

string

The user's email address.

boolean

The option to block the access of the user to SysAid. A disabled user stays in SysAid but cannot sign in. The default is "false".

Unique ID of the company the user works for

The unique identifier of the department of the user.

The unique identifier of the location of the user.

string

The time zone of the user. The default is the time zone of your SysAid account.

string

The language of the user. The default is "en" (English).

string

User's work phone number/extension

string

The mobile phone number of the user.

boolean

The option to send email notifications to the user when a service record is updated. For an Agent, the default is "true". For an End User, the default is "false".

boolean

The option to let the user sign in to the Self-Service Portal.

integer

The unique identifier of the manager of the user. Use the Agents API or the End Users API to retrieve manager details.

string
enum

The access of the user to Self-Service Portal service records that other users created. "none": the user sees only their own service records. "department": the user also sees the service records of users in the same department. "company": the user also sees the service records of users in the same company. The default is "none".

Allowed:
string | null

The job title of the user.

customColumnsFields
object
string
enum

The source of the Agent's permissions. If the value is "group", the Agent gets the permissions of the Agent's groups. If the value is "user", you set the permissions directly on the Agent.

Allowed:
int32
required

The version of the entity, for optimistic locking. In an update request, send the version that you got in your last GET request. If the version is not the current version in SysAid, the API rejects the update. This makes sure that you do not overwrite changes that another user made.

Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json