Menghapus tipe sumber daya atau versi tertentu dari tipe sumber daya.
Deskripsi operasi
-
If you delete a resource type, it can no longer be used in ROS.
-
If you delete a version of a resource type, that version can no longer be used in ROS.
-
You can delete a resource type only if it has a single version. If a resource type has multiple versions, you must delete the other versions first.
-
You cannot delete the default version if the resource type has more than one version.
-
If a resource type has only one version, deleting that version also deletes the resource type.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ros:DeregisterResourceType |
delete |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceType |
string |
Yes |
Tipe sumber daya. |
MODULE::MyOrganization::MyService::MyUsecase |
| VersionId |
string |
No |
ID versi. Tentukan parameter ini untuk menghapus versi tertentu tipe sumber daya. |
v1 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
B288A0BE-D927-4888-B0F7-B35EF84B6E6 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "B288A0BE-D927-4888-B0F7-B35EF84B6E6"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.