Open Archives API » Links/Delete

This method removes a link between records page and online family tree page, previously created with the Links/Add API call. Links created with a certain API key can only be deleted by a call with the same API key.

URL

https://api.openarchieven.nl/1.0/links/delete.json

Method

POST

Input

NameRequiredDescriptionDefault
archiveYesCode of archive (obtain a list of valid archive codes via Stats/Archives)
identifierYesIdentifier of the record
urlYesReference to a family tree page to be deleted.
keyYesAPI key
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
1Invalid archive
2Invalid identifier (syntax)
3Invalid key (syntax)
7Unknown key
8Invalid url (syntax)
11Missing required archive
12Missing required identifier
13Missing required key
14Missing required url

An example error looks (pretty-printed) like:

{
	"error_code": 7,
	"error_description": "Unknown key"
}

Back to API documentation

Zoek uw voorouders en publiceer uw stamboom op Genealogie Online via https://www.genealogieonline.nl/