How to Modify a Domain

Use the following PUT to modify the domain. Again, using the object_id from the response header from when the domain was created.

https://api.nuubit.net/v1/domains/55888c861ef09d211562a439

cURL example:

curl  -u '[email protected]:password' -X PUT -H 'Content-Type: application/json'  " -T Domain.json https://api.nuubit.net/v1/domains/55888c861ef09d211562a439

Domain .json example, changing the origin server to origin-new.example.com

{
 "origin_server": "origin-new.example.com",
 "companyId": "5588869fbde7a0d00338ce8f",
 "origin_host_header": "www.example.com",
 "tolerance": "4000"
}
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk