DELETE
/
files
/
{network}
/
swap
/
{cid}
curl --request DELETE \
  --url https://api.pinata.cloud/v3/files/{network}/swap/{cid} \
  --header 'Authorization: Bearer <token>'
{
  "data": null
}

Authorizations

Authorization
string
header
required

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

Path Parameters

network
enum<string>
required

Target either the public or private IPFS network

Available options:
public,
private
cid
string
required

Target CID to remove swap

Response

200 - application/json
OK

The response is of type object.