Ana içeriğe geç

Remove from Whitelist

Removes a user address from a token's whitelist.

Request

DELETE /v2/admin/kyc/tokens/{tokenID}/whitelist/{userAddress}

Parameters

NameTypeInDescription
tokenIDstringpathRequired. The ID of the token
userAddressstringpathRequired. The wallet address to remove from whitelist

Headers

NameDescription
AuthorizationRequired. Bearer token for authentication

Example

curl --request DELETE \
--url '{{baseUrl}}/v2/admin/kyc/tokens/67d8774e903bfcbe7eb5d93e/whitelist/0x1234567890123456789012345678901234567890' \
--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 - Address removed from whitelist
400Bad Request - Invalid parameters
401Unauthorized - Invalid or missing authentication token
404Not Found - Token ID or address does not exist in whitelist
500Internal Server Error