26.09 26.06 26.05 25.12
26.09 26.06 26.05 25.12 Russian English

Unlink identifier from token

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

This request unlinks the identifier assigned to a token using Check a user token

Method parameters

string integration_id  required , Identifier assigned to this token

204  No Content

Successful response

401  Unauthorized

Unsuccessful response (token missing, invalid, or not an integration token)

403  Forbidden

The specified identifier is not assigned to the 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 '{
    "integration_id": "string"
}'
PHP
PHP
$data = array (
  'integration_id' => 'string',
);
$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);