cURL
curl --request DELETE \ --url https://api.pickfu.com/v1/surveys/{id} \ --header 'Authorization: Bearer <token>'
{ "success": true, "data": { "action": "deleted" } }
Deletes or archives a survey depending on its state:
This operation is idempotent: deleting an already-archived survey returns 200 with action: "archived".
action: "archived"
OAuth2 access token obtained via the authorization flow. Include in the Authorization header as: Bearer {access_token}
Bearer {access_token}
Survey ID (GUID)
Default Response
Show child attributes