指定されたクライアント CA 証明書にホスト名をバインドします。証明書を指定しない場合、ホスト名は ESA CA 証明書にバインドされます。
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| SiteId |
integer |
必須 |
サイト ID。 |
123456**** |
| Hostnames |
array |
必須 |
ホスト名のリスト。 |
|
|
string |
任意 |
ホスト名。 |
www.example.com |
|
| Id |
string |
任意 |
クライアント CA 証明書の ID。 |
babaabcd**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答オブジェクト。 |
||
| SiteId |
integer |
サイト ID。ListSites API を呼び出すことで ID を取得できます。 |
123456**** |
| SiteName |
string |
サイト名。 |
example.com |
| Id |
string |
クライアント CA 証明書の ID。 |
babaabcd**** |
| Hostnames |
array |
バインドされたホスト名のリスト。 |
|
|
string |
ホスト名。 |
www.example.com |
|
| RequestId |
string |
リクエスト ID。 |
34DCBC8A-****-****-****-6DAA11D7DDBD |
例
成功レスポンス
JSONJSON
{
"SiteId": 0,
"SiteName": "example.com",
"Id": "babaabcd****",
"Hostnames": [
"www.example.com"
],
"RequestId": "34DCBC8A-****-****-****-6DAA11D7DDBD"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | MissingSiteId | Required parameter SiteId missing. Specify SiteId and try again. | |
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | |
| 400 | InvalidParameter | The specified parameter is invalid. | |
| 400 | QuotaCheckFailed.Function | The feature is unavailable in your plan. Upgrade the plan or contact your account manager to request the feature. | |
| 403 | Unauthorized.InvalidTime | The specified authentication time is invalid. | |
| 403 | Unauthorized.InvalidToken | Token authentication failed. | |
| 404 | Certificate.NotFound | The specified certificate does not exist. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。