• This topic has 1 reply, 2 voices, and was last updated December 29, 2018 by Dennis L.

Delete VPG URL not allowing Delete Method

  • i am trying to delete a vpg via API

    however the url for deleting vpg:

     

    https://zvm_ip:port/v1/vpgs/{VpgIdentifier}

    does not allow delete method:

     

    Error message:

    Service
    Method not allowed. Please see the service help page for constructing valid requests to the service.

     

    anyone experienced this before?

    I tested this and was able to delete a VPG with the DELETE method.

    I tested using Postman. I’m guessing you’re code probably has a typo or something in it which is causing your problem.

    Here are some screenshots.

    GET API call to get info about the VPG

    Get-Method

    Delete API to remove the VPG (all i did was switch GET to DELETE in postman)

    Delete-Method

    Here is the result in the Zerto GUI

    result

    Hopefully, this helps.

    Tagged: 

The forum ‘Scripting and APIs’ is closed to new topics and replies.