Skip to main content
PATCH
/
v1
/
people
/
{person_id}
/
employments
/
{id}
Update an employment
curl --request PATCH \
  --url https://api.slant.app/v1/people/{person_id}/employments/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "business_name": "New Corp",
  "role": "Director",
  "start_date": "2023-01-15",
  "end_date": "2024-12-31",
  "actively_employed": false
}
'
{
  "business_name": "Acme Corp",
  "id": "emp123xyz",
  "person_id": "abc123xyz",
  "role": "Software Engineer",
  "start_date": "2023-01-15",
  "end_date": "2024-12-31",
  "actively_employed": true
}

Authorizations

Authorization
string
header
required

OAuth 2.0 Bearer Token from Clerk authentication

Path Parameters

person_id
string
required

The person ID

id
string
required

The employment ID

Body

application/json
business_name
string
Example:

"New Corp"

role
string
Example:

"Director"

start_date
string<date>
Example:

"2023-01-15"

end_date
string<date>
Example:

"2024-12-31"

actively_employed
boolean
Example:

false

Response

employment updated

business_name
string
required
Example:

"Acme Corp"

id
string

The employment ID

Example:

"emp123xyz"

person_id
string

The person ID

Example:

"abc123xyz"

role
string | null
Example:

"Software Engineer"

start_date
string<date> | null
Example:

"2023-01-15"

end_date
string<date> | null
Example:

"2024-12-31"

actively_employed
boolean
Example:

true