All Products
Search
Document Center

Update Model

Last Updated: Jul 12, 2019

Description

You can call this operation to modify the information of a model.

  • You can use the NewModelName parameter to modify the name of the model.

Request Parameters

Parameter Type Required Description
Action String Yes The operation that you want to perform. Set this parameter to ModifyModel.
GroupId String Yes The ID of the group to which the model to be modified belongs.
ModelName String Yes The name of the model to be modified.
Schema String No The schema of the new model.
Description String No The description of the new model.
NewModelName String No The name of the new model.

Response parameters

Parameter Type Description
RequestId String The ID of the request.

Examples

Sample requests

  1. https://apigateway.cn-qingdao.aliyuncs.com/?Action=ModifyModel
  2. &GroupId=30e792398d6c4569b04c0e53a3494381
  3. &ModelName=Test
  4. &NewModelName=NewTest
  5. &<Common request parameters>

Sample responsesXML format

  1. <ModifyModelResponse>
  2. <RequestId>4173F95B-360C-460C-9F6C-4A960B904411</RequestId>
  3. </ModifyModelResponse>

JSON format

  1. {
  2. "RequestId": "FB195C11-B41F-4045-A8D4-D6581468E6AD"
  3. }