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}
Parameter | Param Type | Description | Data Type | Mandatory |
---|---|---|---|---|
{secretType} | Path | The blockchain of the contract | String | ✅ |
{contractAddress} | Path | The contract address. | String | ✅ |
{tokenTypeId} | Path | The 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.
Updated 5 months ago