Sign in

Create role

documented

Create a new role.

POST /v2/rolesRolesno implementation yet0 runs
No 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" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Harvest-Account-Id: {{HARVEST_ACCOUNT_ID}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"name": "{{$role_name}}", "user_ids": [{{$user_id}}]}'
Create role · Harvest · OpenIntegrations