Change a position
PATCH
Only the fields given change; null clears one. Giving a holder replaces the old one.
sessioncookie
better-auth.session_token<token>Set by POST /api/auth/sign-in/email.
ws*stringThe workspace id (from GET /api/me).
id*stringThe id of what the path names: a hire, a connection, a skill, a shared file, a department, a position, a goal or an approval.
application/json- body
title?stringLength
1 <= length <= 120departmentId?|Default
nullmanagerPositionId?|Default
nullleadsDepartment?booleanDefault
falsehireId?|Default
nulluserId?|Default
nullchat?|Default
nullgoalMode?stringDefault
"manager_sets"Value in
"manager_sets""report_proposes""report_sets"monthlyHours?|Default
nullThe position.
curl -X PATCH 'https://app.useroster.work/api/workspaces/string/positions/string' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
Empty