Commute surveys

Stop a survey draft request the user no longer wants

Changed on

Records the Stop; the draft request, on whichever instance it runs, sees it and ends uncharged (Cloud Run does not pass client disconnects on). Safe to send more than once, before or after the draft finishes. Requires report.share_external.

post/commute-surveys/drafts/{requestId}/cancel

Request

  • Base URL: https://api.greentally.ai/v1
  • URL: https://api.greentally.ai/v1/commute-surveys/drafts/{requestId}/cancel
  • Auth: HTTP bearer

Path parameters

requestIdstring required

The requestId sent with the draft request (a UUID).

Response

The Stop is recorded

Changes