1 つ以上の共有ユニットからタグを削除します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
resourcesharing:UntagResources |
update |
*ResourceShare
|
なし | なし |
リクエスト構文
POST HTTP/1.1
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ResourceType |
string |
必須 |
リソースタイプ。 値は |
ResourceShare |
| ResourceId |
array |
任意 |
共有ユニットの ID。 最大 20 個の共有ユニット ID を指定できます。 |
|
|
string |
任意 |
共有ユニットの ID。 |
rs-PqysnzIj**** |
|
| RegionId |
string |
必須 |
共有ユニットが属するリージョンの ID。 |
cn-hangzhou |
| TagKey |
array |
任意 |
タグキー。 最大 20 個のタグキーを削除できます。 説明
|
|
|
string |
任意 |
タグキー。 |
k1 |
|
| All |
boolean |
任意 |
指定されたリソースからすべてのタグを削除するかどうかを指定します。有効な値:
|
false |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスパラメーター。 |
||
| RequestId |
string |
リクエスト ID。 |
E7747EDF-EDDC-5B38-9B6A-6392B9C92B1C |
例
成功レスポンス
JSONJSON
{
"RequestId": "E7747EDF-EDDC-5B38-9B6A-6392B9C92B1C"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidParameter.ResourceType | The ResourceType parameter is invalid. | |
| 400 | MissingParameter.ResourceIds | You must specify ResourceIds. | |
| 400 | MissingParameter.ResourceType | You must specify ResourceType. | |
| 400 | InvalidParameter.TagKey | The TagKey parameter is invalid. | |
| 400 | NumberExceed.ResourceIds | The maximum number of ResourceIds is exceeded. | |
| 400 | NumberExceed.TagKeys | The maximum number of TagKeys is exceeded. | |
| 400 | Duplicate.TagKey | The TagKey contains duplicate keys. | |
| 400 | InvalidResourceId.NotFound | The specified ResourceIds are not found in our records. | |
| 400 | MissingParameter.TagKeysOrDeleteAll | You must specify TagKeys or DeleteAll. | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | NoPermission | You are not authorized to perform this action. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。