Hi Guys,
We are trying the deletion of the VDB through API.We have used the below code but not getting the correct output.
curl -X POST -k
http://$DE/resources/json/delphix/database/ORACLE-DB_CONTAINER-54/delete \
-b ~/cookies.txt -H "Content-Type: application/json"
{
"type": "OracleDeleteParameters"
}
{"type":"ErrorResult","status":"ERROR","error":{"type":"APIError","details":"The reference \"ORACLE-DB_CONTAINER-54\" is invalid or of the incorrect type.","action":"Check the source of the reference and the documentation for the requested API. Try again with the correct reference type.","id":"exception.webservices.api.invalid.reference","commandOutput":null,"diagnoses":[]}}[root@oraclesource ~]# {
> "type": "OracleDeleteParameters"
> }