Skip to main content
Skip table of contents

Cаncel device reservation

The method and parameters

JSON
{
    "uuid": "7a593d26-8cfd-47e9-8647-1fb18a36fedb"
}

POST /api/v1/billing/devices/unreserve

string uuid REQUIRED – a device UUID

204 No Content

Successful response

422 Unprocessable Entity

Returns a JSON object with an error. See Validation.

JSON
{
    "message": "There will be no informative message here",
    "errors": {
        "any_key": [
            "The cause of the error will be described here"
        ]
    }
}
cURL
BASH
curl -k --request POST \
	--url 'https://your-domain/api/v1/billing/devices/unreserve' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '{
    "uuid": "string"
}'
PHP
PHP
$data = array (
  'uuid' => 'string',
);
$context = stream_context_create([
	'ssl'=>['verify_peer' => false],
	'http' => [
		'method' => 'POST',
		'header' => "Content-Type: application/json\r
Accept: application/json",
		'content'=>json_encode($data)
	]
]);
$result = file_get_contents('https://your-domain/api/v1/billing/devices/unreserve', false, $context);
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.