Delete NFT Item
If an NFT collection is yet to be deployed, you can delete an item in the collection by sending a DELETE request to the /nft/<nft_item_name>
endpoint.
Delete an NFT item.
DELETE
https://api.playfix.io/nft/<nft_item_name>
Path Parameters
Name
Type
Description
nft_item_name
String
An automatically generated unique name of the NFT item. This begins with nftitems/
, 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_item_name> \
--header 'Authorization: Bearer <your_access_token>'
Example Python API Call
import requests
r = requests.delete(
"https://api.playfix.io/nft/<nft_item_name>",
headers = {
"Authorization": "Bearer <your_access_token>"
}
)
print(r.text)
Response
{
}
The response is an empty object, indicating that the NFT item is successfully deleted.
Last updated