Skip to main content
PUT
/
userPosition
/
{id}
Update a user position
curl --request PUT \
  --url https://api.projectcor.com/v1/userPosition/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "rate": 123,
  "seniority": "<string>",
  "segmentLabel": "<string>"
}
'
{
"id": 123,
"name": "<string>",
"user_position_category_id": 123,
"type": "C",
"rate": 123,
"seniority": "<string>",
"company_id": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

User position ID

Body

application/json
name
string

Position name. Must be unique within the company and pass validation rules if provided.

rate
number

Base rate for the position

seniority
string | null

Seniority level of the position

segmentLabel
string | null

Segment label used to group positions. Required only if company has feature flag to manage positions by labels enabled. Ignored if feature flag is not enabled.

Response

User position updated successfully

id
integer
name
string
user_position_category_id
number
type
enum<string>

Type of position: 'C' for category, 'P' for position

Available options:
C,
P
rate
integer
seniority
string
company_id
integer