Creates a backup for a site.
If successful, this endpoint will return a 200 OK status.
The following arguments are supported for this endpoint.
| Name | Type | Default Value |
|---|---|---|
|
site Required |
Site Lookup | None |
|
name Required The name of the domain |
String | None |
|
redirect Would you like to redirect all requests to this domain to your primary domain? |
Boolean | None |
|
create_alternative Create www and bare domain versions? |
Boolean | None |
The following errors may occur during this request.
| Details | HTTP status |
|---|---|
|
No site was found matching any of the criteria provided in the arguments |
404 Not Found |
|
A validation error occurred with the object that was being created/updated/deleted |
422 Unprocessable Entity |
When the request is successful, you can expect an object matching the specification below to be returned.
{ domain: Domain { id: Integer site_id: Integer name: String redirect: Boolean require_ssl: Boolean primary: Boolean created_at: Unix Timestamp } }