cURL
curl --request PUT \ --url https://api.pinata.cloud/pinning/hashMetadata \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "ipfsPinHash": "<string>", "name": "<string>", "keyvalues": {} } '
"OK"
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
CID for the file to be updated
Updated name for file
OK
The response is of type string.
string