Sign in

Delete location

documented

Delete a Deputy location.

POST /api/v1/supervise/company/{id}/deleteLocationsno 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://{{$install}}.{{$geo}}.deputy.com/api/v1/supervise/company/{{$id}}/delete" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"targetId": {{$targetId}}, "sourceId": {{$sourceId}}, "deleteAssociations": {{$deleteAssociations}}}'
Delete location · Deputy · OpenIntegrations