Delphix Products

  • 1.  Delete container

    Posted 05-21-2019 02:09:00 PM
    Delete container, when done through a API call, deletes the source VDB as well, while it is possible to delete the container on its own via self service portal.
    Is there an API method to delete the container only?

    My API call is as follows:

    curl -s -X DELETE -k https://${DE}/resources/json/delphix/jetstream/container/$cont">https://${DE}/resources/json/delphix/jetstream/container/$cont">https://${DE}/resources/json/delphix/jetstream/container/$cont \

        -b ~/cookies.txt -H "Content-Type: application/json"

    Regards
    #Virtualization


  • 2.  RE: Delete container
    Best Answer

    Posted 05-21-2019 02:19:00 PM
    Hello EnterpriseMan,
                                 You can use below API to delete container only,

    === POST /resources/json/delphix/selfservice/container/JS_DATA_CONTAINER-16/delete ===

    {

        "type": "JSDataContainerDeleteParameters",

        "deleteDataSources": false

    }

    ~Thanks
    Jatinder


  • 3.  RE: Delete container

    Posted 05-22-2019 09:19:00 AM
    Thanks Jatinder, works as needed.