Update location
documentedUpdate an existing Deputy location.
POST /api/v1/supervise/company/{id}Locationsno 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://{{$install}}.{{$geo}}.deputy.com/api/v1/supervise/company/{{$company_id}}" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"Code": "{{$code}}", "Active": {{$active}}, "ParentCompany": {{$parent_company}}, "CompanyName": "{{$company_name}}", "TradingName": "{{$trading_name}}", "IsWorkplace": {{$is_workplace}}, "IsPayrollEntity": {{$is_payroll_entity}}, "PayrollExportCode": "{{$payroll_export_code}}", "Address": "{{$address}}"}'