Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

/api/dataSets/:id/attributes/:code/subsets/:sid/value/:svid

Deletes the subset value for given data set ID, attribute code and subset.

Resource Information

Resource URL

https://service.belladati.com/api/dataSets/:id/attributes/:code/subsets/:sid/value/:svid

HTTP Method

DELETE

Request Parameters

idData Set identifier. You can find the ID in the response to /api/dataSets.123
codeAttribute code. You can find the code in the response to /api/dataSets/:id.L_STATE
sidID of the subsetkwuQpitto1
svidID of the subset valueT9yI2XwdWV

Response Structure

If the request is successfully executed, it will return the response "DELETED" with HTTP Status 200 OK.

Sample Request / Response

Using curl:

curl -X DELETE -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\""https://service.belladati.com/api/dataSets/123/attributes/L_STATE/subsets/j3KE8bj7jc/value/k5jHVkCRd1