Description
DKIM用の環境設定

Request URL

Mail API v1.0

PUT /v1/domains/(uuid:domain_id)/action

Request Paramters

Parameter Value Style Type Description
X-Auth-Token - header string Userトークン
domain_id - URI UUID ドメインID
dkim - plain dict -
status enbale/disable plain string enable:有効、disable:無効

Request Json

{
    "dkim" : {
         "status":"enable"
    }
}

Normal response codes

204 - No Content

Error response codes

401 - Access Denied
400 - InvalidStatus
409 - Duplicate

Repeatable

No

Example

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