Skip to main content
Version: 1.x.x

deleteGateway

Removes a Gateway resource from a persistent database. Before removing a Gateway, ensure you have remove all of it child Numbers. Otherwise, this method returns a FOUND_DEPENDENT_OBJECTS_RESPONSE

URL

/gateways/{ref}

Method

DELETE

Parameters

Parameter NameTypeValueDescription
refpathstringResource reference

Request body

Do not supply a request body with this method.

Response

If successful this method removes a Gateway resource.

Sample Call

DELETE /api/v1beta1/gateways/gw5c77t2
{

}

HTTP/1.1 200 OK
{
"status": "200",
"message": "Successful request"
}