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

# Update a Project

This endpoint allows you to perform an update on a Project.

# 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": {
      "UpdateProjectRequest": {
        "type": "object",
        "properties": {
          "params": {
            "type": "object",
            "properties": {
              "projectId": {
                "type": "integer"
              }
            },
            "required": [
              "projectId"
            ]
          },
          "body": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 32,
                "description": "Name stored as on-chain metadata",
                "example": "Underdog NFT"
              },
              "symbol": {
                "type": "string",
                "maxLength": 10,
                "description": "Symbol stored as on-chain metadata",
                "example": "UPDG"
              },
              "description": {
                "type": "string",
                "description": "Description stored in the metadata",
                "example": "I minted this NFT with the Underdog API"
              },
              "image": {
                "type": "string",
                "description": "Image for your NFT. When creating an NFT, this can be a base64 encoded string or a URL pointing to an image.",
                "example": "https://hatrabbits.com/wp-content/uploads/2017/01/random.jpg"
              },
              "animationUrl": {
                "type": "string",
                "description": "URL pointing to the asset's animation.",
                "example": "https://i.imgur.com/mGfz7Ig.mp4"
              },
              "externalUrl": {
                "type": "string",
                "description": "URL pointing to an external URL defining the asset",
                "example": "https://app.underdogprotocol.com"
              },
              "attributes": {
                "type": "object",
                "additionalProperties": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    }
                  ]
                },
                "description": "Key-value pairs of your NFT attributes",
                "example": {
                  "points": 10,
                  "name": "LeBron"
                }
              },
              "sellerFeeBasisPoints": {
                "type": "integer",
                "description": "Creator royalties in basis points - 100 basis points = 1%",
                "example": 100
              }
            },
            "required": [
              "name",
              "image",
              "sellerFeeBasisPoints"
            ]
          }
        },
        "required": [
          "params",
          "body"
        ]
      }
    }
  },
  "paths": {
    "/v2/projects/t/{projectId}": {
      "put": {
        "summary": "Update a Project",
        "description": "This endpoint allows you to perform an update on a Project.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "tags": [
          "Transferable Projects"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "schema": {
              "type": "integer"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "maxLength": 32,
                    "description": "Name stored as on-chain metadata",
                    "example": "Underdog NFT"
                  },
                  "symbol": {
                    "type": "string",
                    "maxLength": 10,
                    "description": "Symbol stored as on-chain metadata",
                    "example": "UPDG"
                  },
                  "description": {
                    "type": "string",
                    "description": "Description stored in the metadata",
                    "example": "I minted this NFT with the Underdog API"
                  },
                  "image": {
                    "type": "string",
                    "description": "Image for your NFT. When creating an NFT, this can be a base64 encoded string or a URL pointing to an image.",
                    "example": "https://hatrabbits.com/wp-content/uploads/2017/01/random.jpg"
                  },
                  "animationUrl": {
                    "type": "string",
                    "description": "URL pointing to the asset's animation.",
                    "example": "https://i.imgur.com/mGfz7Ig.mp4"
                  },
                  "externalUrl": {
                    "type": "string",
                    "description": "URL pointing to an external URL defining the asset",
                    "example": "https://app.underdogprotocol.com"
                  },
                  "attributes": {
                    "type": "object",
                    "additionalProperties": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "number"
                        }
                      ]
                    },
                    "description": "Key-value pairs of your NFT attributes",
                    "example": {
                      "points": 10,
                      "name": "LeBron"
                    }
                  },
                  "sellerFeeBasisPoints": {
                    "type": "integer",
                    "description": "Creator royalties in basis points - 100 basis points = 1%",
                    "example": 100
                  }
                },
                "required": [
                  "name",
                  "image",
                  "sellerFeeBasisPoints"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns an Updated Project",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateProjectRequest"
                }
              }
            }
          },
          "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
    }
  }
}
```