Update role
documentedUpdate an existing role.
PATCH /v2/roles/{ROLE_ID}Rolesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl \"https://api.harvestapp.com/v2/roles/{{$role_id}}\" \
-X PATCH \
-H \"Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}\" \
-H \"Harvest-Account-Id: {{$ACCOUNT_ID}}\" \
-H \"User-Agent: HarvestApp ({{$CONTACT_EMAIL}})\" \
-H \"Content-Type: application/json\" \
-H \"Accept: application/json\" \
-d '{\"name\": \"{{$name}}\", \"user_ids\": {{$user_ids}}}'