POST
/
ipfs
/
gateways
/
{id}
/
ips
curl --request POST \
  --url https://api.pinata.cloud/v3/ipfs/gateways/{id}/ips \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "ip": "1.1.1.1"
}'
{
  "data": {
    "id": "66b6f3c5-2733-442b-a558-960be4b5a921",
    "value": "1.1.1.1",
    "createdAt": "2024-07-12T15:37:04.871996078Z"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

ID of the target Gateway

Body

application/json
ip
string

IP for the target Gateway

Response

200 - application/json
OK

The response is of type object.