Skip to main content

Remove Token Whitelist Group

Removes a KYC group from a token's whitelist by KycTokenGroup ID.

Request

DELETE /v2/admin/kyc/tokens/{tokenID}/whitelist/groups/{kycTokenGroupID}

Parameters

NameTypeInDescription
tokenIDstringpathRequired. The ID of the token
kycTokenGroupIDstringpathRequired. The KycTokenGroup ID (whitelist entry to remove)

Headers

NameDescription
AuthorizationRequired. Bearer token for authentication

Example

curl --request DELETE \
--url '{{baseUrl}}/v2/admin/kyc/tokens/67d8774e903bfcbe7eb5d93e/whitelist/groups/67d8774e903bfcbe7eb5d93f' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'

Response

A successful request returns an HTTP 200 status code with the action response.

{
"requires_approval": false,
"completed": true
}

Response Fields

FieldTypeDescription
requires_approvalbooleanWhether the action requires approval
completedbooleanWhether the action was completed immediately

Status Codes

Status CodeDescription
200Success - KYC group removed from token whitelist
400Bad Request - Invalid parameters
401Unauthorized - Invalid or missing authentication token
404Not Found - Token ID or KycTokenGroup ID does not exist
500Internal Server Error