招待を拒否します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
resourcemanager:DeclineHandshake |
update |
*Handshake
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| HandshakeId |
string |
必須 |
招待の ID です。 |
h-ycm4rp**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエストの ID です。 |
9B34724D-54B0-4A51-B34D-4512372FE1BE |
| Handshake |
object |
招待の情報です。 |
|
| Status |
string |
招待のステータスです。有効な値は次のとおりです。
|
Declined |
| ExpireTime |
string |
招待の有効期限です。 |
2018-08-10T09:55:41Z |
| ResourceDirectoryId |
string |
リソースディレクトリの ID です。 |
rd-abcdef**** |
| CreateTime |
string |
招待の作成時刻です。 |
2018-08-10T09:55:41Z |
| Note |
string |
招待の備考です。 |
欢迎您加入 |
| TargetEntity |
string |
招待されたアカウントの ID またはログイン用メールアドレスです。 |
someone@example.com |
| MasterAccountId |
string |
リソースディレクトリの管理アカウントの ID です。 |
172841235500**** |
| MasterAccountName |
string |
リソースディレクトリの管理アカウントの名前です。 |
Alice |
| ModifyTime |
string |
招待の更新時刻です。 |
2018-08-10T09:55:41Z |
| TargetType |
string |
招待されたアカウントのタイプです。有効な値は次のとおりです。
|
|
| HandshakeId |
string |
招待の ID です。 |
h-ycm4rp**** |
例
成功レスポンス
JSONJSON
{
"RequestId": "9B34724D-54B0-4A51-B34D-4512372FE1BE",
"Handshake": {
"Status": "Declined",
"ExpireTime": "2018-08-10T09:55:41Z",
"ResourceDirectoryId": "rd-abcdef****",
"CreateTime": "2018-08-10T09:55:41Z",
"Note": "欢迎您加入",
"TargetEntity": "someone@example.com",
"MasterAccountId": "172841235500****",
"MasterAccountName": "Alice",
"ModifyTime": "2018-08-10T09:55:41Z",
"TargetType": "Email",
"HandshakeId": "h-ycm4rp****"
}
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | MissingParameter.HandshakeId | You must specify HandshakeId. | |
| 400 | InvalidParameter.HandshakeId | The HandshakeId is invalid. | |
| 404 | EntityNotExists.Handshake | The specified handshake does not exist. | |
| 409 | HandshakeStatusMismatch | The invitation is invalid. | The invitation is invalid. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。