latestOpenAPI 3.0.02026-08-1284111344.5 KB

14666f4db0f8

Jobs

Set a Technician as Primary

Sets the specified technician as the primary technician for the job. All other technicians will be set as non-primary.

put/v2/jobs/{jobId}/team/{userId}

Path parameters

jobIdstring required
Example:JOB-BA5r7o4bqzR9MONa

The Job ID

userIdstring required
Example:USR-BA5r7o4bqzR9MONa

The User ID

Headers

Authorizationstring required
Example:Bearer <token>

Bearer Token

Response

The updated technician with isPrimary set to true

idstring

The id of the user

namestring

The name of the technician.

emailAddressstring

The email address of the technician.

isPrimaryboolean

Whether the technician is the primary technician.

Example response

{
  "id": "USR-BA5r7o4bqzR9MONa",
  "name": "John Doe",
  "emailAddress": "john.doe@example.com",
  "isPrimary": true
}