---
agentTools:
  projectIndex: https://underdog.readme.io/llms.txt
---

# Burn an NFT

This endpoint allows you to burn an NFT.

# OpenAPI definition

```json
{
  "info": {
    "version": "2.0.0",
    "title": "Underdog Protocol API"
  },
  "servers": [
    {
      "url": "https://devnet.underdogprotocol.com",
      "description": "Solana Devnet"
    },
    {
      "url": "https://mainnet.underdogprotocol.com",
      "description": "Solana Mainnet"
    }
  ],
  "openapi": "3.0.0",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    },
    "schemas": {
      "BurnAssetResponse": {
        "type": "object",
        "properties": {
          "transactionId": {
            "type": "string",
            "description": "Transaction ID that identifies the Transaction generated by an API request"
          },
          "nftId": {
            "type": "number",
            "description": "Unique ID for an NFT in a Project"
          },
          "projectId": {
            "type": "number",
            "description": "The ID of the Project the NFT is part of"
          },
          "mintAddress": {
            "type": "string",
            "description": "Base-58 encoded string representing an on-chain address",
            "example": "dustFPTV7dujoJjgkKtf6is3bYaFEy1nswS23vxHfvt"
          }
        },
        "required": [
          "transactionId",
          "nftId",
          "mintAddress"
        ]
      }
    }
  },
  "paths": {
    "/v2/projects/{projectId}/nfts/{nftId}/burn": {
      "post": {
        "summary": "Burn an NFT",
        "description": "This endpoint allows you to burn an NFT.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "tags": [
          "Projects"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "schema": {
              "type": "integer"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "nftId",
            "schema": {
              "type": "integer"
            },
            "required": true
          }
        ],
        "responses": {
          "202": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BurnAssetResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 100,
      "1": 120,
      "2": 18,
      "3": 31,
      "4": 87,
      "5": 216,
      "6": 33,
      "7": 0,
      "8": 11,
      "9": 154,
      "10": 241,
      "11": 226
    }
  }
}
```