Delete an NFT Collection

If you are yet to deploy an NFT collection, you can delete it by sending a DELETE request to the /nft/<nft_collection_name> endpoint.

Delete an NFT collection.

DELETE https://api.playfix.io/nft/<nft_collection_name>

Path Parameters

Name
Type
Description

nft_collection_name*

String

A unique name of the NFT collection, automatically generated by Playfix. It begins with "nfts/" followed by a ULID.

Headers

Name
Type
Description

Authorization*

String

Bearer <your_access_token>

{

}

Example cURL API Call

curl --request DELETE \
  --url https://api.playfix.io/nft/<nft_collection_name> \
  --header 'Authorization: Bearer <your_access_token>'

Example Python API Call

import requests

r = requests.delete(
    "https://api.playfix.io/nft/<nft_collection_name>",
    headers = {
        "Authorization": "Bearer <your_access_token>"
        }
    )

print(r.text)

Response

{

}

The response is an empty object, indicating that the NFT collection is successfully deleted.

You can only delete an NFT collection if you it is yet to be deployed.

Last updated