Documentation

/site PUT

Description

Update the name of your site.

Parameters

Name Type Description
name string the new name of your site

Response

Name Type Description
name string name of your site
handle string handle of your site
base_url string base_url = protocol + host on Heroku

Example

curl -X PUT \
  -H "x-boxcab-site-handle: <your site handle>" \
  -H "x-boxcab-api-key: <your API key>" \
  -F "site[name]=New name" \
  https://editor.boxcab.io/api/v1/site