PUT
/
pinning
/
hashMetadata
curl --request PUT \
  --url https://api.pinata.cloud/pinning/hashMetadata \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "ipfsPinHash": "QmTYTVXrHeePozENTRMApK621NFdVac9vbp6k4BeiMFtwm",
  "name": "Another test",
  "keyvalues": "<string>"
}'
"<any>"

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
ipfsPinHash
string
required

CID for file where you want to update metadata

name
string

Name for the file

keyvalues
string

Stringified object key value pairs

Response

200 - application/json

The response is of type any.