cURL
curl --request POST \ --url https://api.pinata.cloud/v3/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" } }
org:gateways:write
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the target Gateway
OK
The response is of type object.
object