cURL
curl --request POST \ --url https://api.pinata.cloud/v3/gateways/{id}/custom_domain \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "domain": "ipfs2.pinata.cloud" }'
{ "data": { "domain": "ipfs2.pinata.cloud", "domain_validation_status": "pending", "custom_domain_id": "81bc0135-346d-4d81-ad81-1e313297702f", "ssl_validation_status": "initializing" } }
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