Web Service Method: Remove a Literal from a Concept or Concept Scheme
Web Service Method: Remove a Literal from a Concept or Concept Scheme
Description |
---|
Removes the literal from a concept or concept scheme. This is the opposite functionality of Web Service Method: Add Literal to a Concept or Concept Scheme. |
URL: /PoolParty/api/thesaurus/{project}/removeLiteral
Supported Methods |
---|
POST |
application/x-www-form-urlencoded
Variable | Comment |
---|---|
| The UUID or the URI supplement (textual identifier) of the project to be used. |
Parameter | Comment | Type | Required |
---|---|---|---|
resource | URI of the resource. | String | true |
label | The value for the RDF literal that should be removed. | String | true |
language | The language of the literal - default language if not defined. | String | false |
property | The type of skos label. Possible values for concepts: Possible values for concept schemes: See full list of Retrieve Properties in API Requests. | String | true |
http status code: 200if OK.
Note
The service checks if the operation is SKOS compatible. For example you can not delete a preferred label of a concept in the default language. In such cases an http status code 400 is returned, together with a message about the causes for the bad request error.
POST Request
http://<server-url>/PoolParty/api/thesaurus/APItests/removeLiteral?resource=http://test.info/glossary/2614&label=outdated label&language=en&property=skos:altLabel