Tutti gli endpoint

Sviluppatori / StrawPoll API / Forms

Delete a form

DELETE/forms/{slug}

Moves the form to the trash, where it can be restored with POST /forms/{slug}/restore until the trash is emptied. With permanent=true the form and all of its responses are deleted for good, also from the trash.

Richiede una chiave API.

Parametri

Percorso

  • slug string obbligatorio max. 20

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

Query

  • permanent boolean

    Predefinito: false

Risposte

Done.

  • success boolean

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.

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

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

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