These docs are for v2.0. Click to read the latest docs for v3.0.

Delete Token-type (NFT Template)

How to delete a token-type.

Deleting an NFT token-type will remove it from all API responses, making it inaccessible through any API calls. Additionally, you will no longer be able to mint NFTs under a deleted token-type.

Request Endpoint: reference

DELETE /api/v2/contracts/{secretType}/{contractAddress}/token-types/{tokenTypeId}
ParameterParam TypeDescriptionData TypeMandatory
{secretType}PathThe blockchain of the contractString
{contractAddress}PathThe contract address.String
{tokenTypeId}PathThe id of the token-type that you want to delete.Integer

Example Request:

DELETE /api/v2/contracts/MATIC/0x8b92df864bc1cdd103d92cba3c18b3f7492d815a/token-types/1

Response

👍

You will get a 200 OK response indicating the token-type has been deleted successfully.