"SoftLayer_" prefix removed for readability.
Create an SPF record on a domain.
Name | Type | Description |
---|---|---|
host | string | The resource record’s name |
data | string | The resource record’s value |
ttl | int | The resource record’s time-to-live value. |
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string, string, int]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Dns_Domain/{SoftLayer_Dns_DomainID}/createSpfRecord'