HomeFormSpring APIMethodsdelete

2.7. delete

This method deletes an existing submission.

Authentication

This method requires an API key with write permissions for the form. If the API key does not have permissions to access the form, a 404 (not found) will be returned.

Arguments

  • api_key (required)
  • id - submission id (required)
  • encryption_password - data encryption password, if one is set. (optional)

Example Request

https://www.formspring.com/api/delete?api_key=ABCDE&id=10001

Response

  • id - the id of the deleted submission

Example XML Response

<?xml version="1.0" encoding="utf-8"?>
<response status="ok">
<id>10001</id>
</response>

Example JSON Response

{
"status" : "ok",
"response" : {
"id" : 10001
}
}

Example PHP Response

a:2:{s:6:"status";s:2:"ok";s:8:"response";a:1:{s:2:"id";i:10001;}}

This page was: Helpful | Not Helpful