The following sample shows the DELETE /environments/{environmentId}/gateways/{gatewayId} operation to delete the gateway resource specified by its ID in the request URL.

When successful, the DELETE request returns a code 204 No Content message.