Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
70 lines (57 sloc) 1.47 KB

Set Custom Domain

If the account has a CloudApp Pro subscription, add or change the domain used for all links. Optionally, a URL may be provided to redirect visitors to the custom domain's root.



  • Status: 200 OK

  • Body:

      "id":               1,
      "email":            "",
      "domain":           "",
      "domain_home_page": "",
      "private_items":    true,
      "subscribed":       true,
      "alpha":            false,
      "created_at":       "2010-12-10T17:07:01Z",
      "updated_at":       "2010-12-10T20:33:38Z",
      "activated_at":     "2010-12-10T17:07:01Z"


curl --digest -u \
     -H "Accept: application/json" \
     -H "Content-Type: application/json" \
     -d \
          "user": {
            "domain":           "",
            "domain_home_page": ""
        }' \
     -X PUT \


If the domain or domain home page are unable to be added, an array of errors will be returned.

  • Status: 422 Unprocessable Entity

  • Body:

    [ "Domain requires a paid plan" ]