Ana içeriğe geç

Remove from Distribution Group

Removes a user address from a token's distribution group.

Request

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

Parameters

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

Headers

NameDescription
AuthorizationRequired. Bearer token for authentication

Example

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