Skip to main content

Delete Callback From Virtual Machine

DELETE https://infrahub-api.nexgencloud.com/v1/core/virtual-machines/{id}/delete-callback

Permanently deletes the callback URL associated with a specified virtual machine by providing the virtual machine ID in the request path. For additional information on virtual machine callback URLs, click here.


Path parameters


id integer   Required

The ID of the virtual machine from which the callback is being deleted.


Attributes


status boolean

Indicates the status of the request to delete the callback from the virtual machine. A status of true indicates success.


message string

A message describing the status of the callback deletion.

Example request
curl -X DELETE "https://infrahub-api.nexgencloud.com/v1/core/virtual-machines/{id}/delete-callback" \
-H "accept: application/json"\
-H "api_key: YOUR API KEY"
Response
{
"status": true,
"message": "string",
}

Returns


A successful response returns the status of true, a message confirming the successful status of callback deletion. Any other response indicates an error has occurred.


Back to top