Description
Change backup settings. (enable/disable)

Request URL

Mail API v1.0

PUT /v1/services/(uuid:service_id)/action

Request Paramters

Parameter Value Style Type Description
X-Auth-Token - header string User Token
service_id - URI UUID Service Name
status - plain dict -
backup enable/disable plain string enable/disable

Request Json

{
    "backup": {
        "status": "enable"
    }
}

Normal response codes

204 - Success

Error response codes

401: Access Denied
404: Not Found

Repeatable

No

Example

curl -i -X PUT \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "X-Auth-Token: 39be9f8d53044388b7f2e867eba8b140" \
-d
'{
    "backup": {
        "status": "enable"
    }
}' \
https://mail-hosting.tyo1.cloud.z.com/v1/services/1b508bb370c78b7a9d44/action
HTTP/1.1 204 Success
Date: Tue, 09 Dec 2014 01:46:58 GMT
Server: Apache
Content-Length: 1003