cURL
curl --request POST \ --url https://api.pinata.cloud/v3/gateways/{id}/hosts \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "host": "https://ipfs.pinata.cloud" }'
{ "data": { "id": "b0165cb6-59e2-476e-aa60-b63b9326bcc6", "value": "https://ipfs.pinata.cloud", "createdAt": "2024-07-12T15:40:40.258353687Z" } }
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