Open Archives API » Comments/Delete

This method deletes a specific comment, which was created via the Comments/Add API call with the same API key.

URL

https://api.openarch.nl/1.0/comments/delete.json

Method

POST

Input

NameRequiredDescriptionDefault
keyYesAPI key
comment_idYesIdentifier of the comment, see the id field in the output of Comments/List
callbackNoFunction name to be called on JSON data (JSONP).

Output

The result in JSON(P) format is a status message with either "ok" or "no records deleted". An example status looks (pretty-printed) like:

{
	"status": "ok"
}

Errors

One of the following errors may be thrown:

Error codeError message
3Invalid key (syntax)
13Missing required key
41Missing required comment_id

An example error looks (pretty-printed) like:

{
	"error_code": 41,
	"error_description": "Invalid email (syntax)"
}

Back to API documentation

Publiceer uw stamboom en zoek uw voorouders op Genealogie Online!
https://www.genealogieonline.nl/