Tutti gli endpoint

Sviluppatori / StrawPoll API / Responses

Invalidate responses

PATCH/forms/{slug}/responses

Invalidates up to 100 responses by id. They stay listed, marked invalidated, but stop counting in the results. Ids of other forms and responses already invalidated are skipped.

Richiede una chiave API.

Parametri

Percorso

  • slug string obbligatorio max. 20

    The form's public id, as in https://strawpoll.com/r/{slug}.

Corpo della richiesta application/json

  • ids array of string (uuid) obbligatorio

Risposte

The ids that were invalidated.

  • invalidated array of string (uuid)

Provalo

Crea una chiave

Inviata dal tuo browser direttamente all’API, da nessun’altra parte. Con «Ricorda» resta finché non chiudi questa scheda. Con una chiave di sola lettura puoi esplorare senza cambiare nulla.

PATCH https://new.strawpoll.com/api/v4/forms/{slug}/responses

Incolla una chiave API per inviare le richieste che ne hanno bisogno.

Le richieste con chiave contano nelle richieste API giornaliere del tuo piano.