26.09 26.06 26.05 25.12
26.09 26.06 26.05 25.12 Russian English

Delete BLE key

Delete a BLE key

DELETE  /api/v1/billing/access-points/{access_point}/ble-controllers/{ble_controller}/keys/{key}

Permanently deletes a user's BLE key by its ID.

Method parameters

string access_point  required , (path) Access point UUID.


string ble_controller  required , (path) BLE controller UUID.


integer key  required , (path) User BLE key ID.

204  No Content

Key deleted successfully. The response body is empty.

cURL
Bash
curl -k --request DELETE \
	--url 'https://your-domain/api/v1/billing/access-points/{access_point}/ble-controllers/{ble_controller}/keys/{key}' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '{
    "access_point": "string",
    "ble_controller": "string",
    "key": "integer"
}'
PHP
PHP
$data = array (
  'access_point' => 'string',
  'ble_controller' => 'string',
  'key' => 'integer',
);
$context = stream_context_create([
	'ssl'=>['verify_peer' => false],
	'http' => [
		'method' => 'DELETE',
		'header' => "Content-Type: application/json\r
Accept: application/json",
		'content'=>json_encode($data)
	]
]);
$result = file_get_contents('https://your-domain/api/v1/billing/access-points/{access_point}/ble-controllers/{ble_controller}/keys/{key}', false, $context);