PATCH
/api/public/v1/job-titles/{jobTitleId}

Update a job title

Rename a job title or move it to a different department.

Path Parameters

NameTypeRequiredDescription
jobTitleIdstring
Required
Job title ID.

Request Body

PropertyTypeDescription
namestringNew name.
departmentIdstringMove to a different department.
PATCHExample request
curl
curl -X PATCH "https://www.pxb.app/api/public/v1/job-titles/{jobTitleId}" \
  -H "X-Organization-Id: your_org_id" \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Senior Software Engineer"
  }'
200Example response
json
{
  "message": "Job title updated successfully!",
  "content": {
    "jobTitle": {
      "id": "jt_1"
    }
  }
}