Skip to main content
Skip table of contents

Отвязка идентификатора от токена

Метод и параметры

DELETE /api/v1/billing/user/tokens/unassign

Данный запрос отвязывает идентификатор от токена, который был установлен в Проверка токена пользователя.

201 Created

Успешный ответ

401 Unauthorized

Неуспешный ответ (токен неверный)

cURL
BASH
curl -k --request DELETE \
	--url 'https://your-domain/api/v1/billing/user/tokens/unassign' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '[]'
PHP
PHP
$data = array (
);
$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/user/tokens/unassign', false, $context);
JavaScript errors detected

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

If this problem persists, please contact our support.