Description
Enable backup.

Request URL

Database 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 ID
backup - plain dict -
status enable/desable plain string Flag to Enable/Disable Backup

Response Paramters

Parameter Value Style Description

Request Json

{
    "backup": {
        "status": "disable"
    }
}

Normal response codes

202 - Success

Error response codes

400 - Bad Request
401 - Access Denied
404 - Not Found

Repeatable

No

Example

curl -i -X PUT \
-H "Accept: application/json" \
-H "X-Auth-Token: 39be9f8d53044388b7f2e867eba8b140" \
-d
'{
  "backup": {
      "status": "disable"
   }
}' \
https://database-hosting.tyo1.cloud.z.com/v1/services/9d6441f6-c5a0-4dcf-a1a9-1a4d724e51fd/action
HTTP/1.1 202 Success
Date: Tue, 09 Dec 2014 01:46:58 GMT
Server: Apache
Content-Length: 1003
Content-Type: application/json