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.
https://api.openarchieven.nl/1.0/links/delete.json
POST
Name | Required | Description | Default |
---|---|---|---|
archive | Yes | Code of archive (obtain a list of valid archive codes via Stats/Archives) | |
identifier | Yes | Identifier of the record | |
url | Yes | Reference to a family tree page to be deleted. | |
key | Yes | API key | |
callback | No | Function name to be called on JSON data (JSONP). |
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" }
One of the following errors may be thrown:
Error code | Error message |
---|---|
1 | Invalid archive |
2 | Invalid identifier (syntax) |
3 | Invalid key (syntax) |
7 | Unknown key |
8 | Invalid url (syntax) |
11 | Missing required archive |
12 | Missing required identifier |
13 | Missing required key |
14 | Missing required url |
An example error looks (pretty-printed) like:
{ "error_code": 7, "error_description": "Unknown key" }
Zoek uw voorouders en publiceer uw stamboom op Genealogie Online via https://www.genealogieonline.nl/