Breadcrumbs

Unassign an identifier from a token

The method and parameters

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

This request removes the identifier from the token that was set via the Validate a user token request.

201  Created

Successful response

401  Unauthorized

Unsuccessful response: invalid token

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);