curl --request PUT \ --url https://api.pinata.cloud/v3/ipfs/swap/{cid} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "swapCid": "QmXog19G7QvqHQUMH4R6aCaq8J9qfKAU9ethr51PUjtKjM" }'
{ "data": { "mappedCid": "QmXog19G7QvqHQUMH4R6aCaq8J9qfKAU9ethr51PUjtKjM", "createdAt": "2024-08-18T19:36:29.442559Z" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The target original CID
The response is of type object.
object