Service: deleteValueByIndex
Description:
Deletes a value associated with an existing handle. Only the owner of the handle is able to delete a value and only types of DESC
and URL
can be deleted. To obtain available indexes a call to the getHandle
service will return all available values and their indexes for a handle.
Service Type:
POST
Parameters:
handle
(Mandatory)
The handle from which a value is to be deleted
index
(Mandatory)
The index of the value to modify.
Example Request:
URL
https://identifiers.ardc.edu.au/pids/deleteValueByIndex?handle=10378.2/1234&index=2
POST Body
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<request name="mint">
<properties>
<property name="appId" value="exampleAppID"/>
<property name="sharedSecret" value="exampleSharedSecret"/>
<property name="identifier" value="ExampleUser"/>
<property name="authDomain" value="ExampleAuthDomain"/>
</properties>
</request>
Example response:
<response type="success">
<identifier handle="10378.1/44">
<property index="1" type="URL" value="http://ardc.edu.au" />
</identifier>
<timestamp>2009-05-15T02:29:27Z</timestamp>
<message type="user">Successfully deleted handle value</message>
</response>