Modifies the name, description, or schema definition of a model in an API group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:ModifyModel |
update |
*ApiGroup
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ModelName |
string |
Yes |
Name of the model to modify. |
Test |
| Description |
string |
No |
New description for the model. |
Model Description |
| Schema |
string |
No |
New definition of the model. |
{\"type\":\"object\",\"properties\":{\"id\":{\"format\":\"int64\",\"maximum\":100,\"exclusiveMaximum\":true,\"type\":\"integer\"},\"name\":{\"maxLength\":10,\"type\":\"string\"}}} |
| GroupId |
string |
Yes |
ID of the API group that contains the model. |
30e792398d6c4569b04c0e53a3494381 |
| NewModelName |
string |
No |
New name for the model. |
NewTest |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Request ID. |
4173F95B-360C-460C-9F6C-4A960B904411 |
Examples
Success response
JSON format
{
"RequestId": "4173F95B-360C-460C-9F6C-4A960B904411"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.