PATCH
/api/public/v1/job-titles/{jobTitleId}Update a job title
Rename a job title or move it to a different department.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
jobTitleId | string | Required | Job title ID. |
Request Body
| Property | Type | Description |
|---|---|---|
name | string | New name. |
departmentId | string | Move 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"
}
}
}