This operation modifies the definition of a backend service in an environment. After the modification, the backend addresses of APIs that use this backend service and are published in this environment are batch updated automatically, without requiring manual publishing.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:ModifyBackendModel |
update |
*Backend
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BackendId |
string |
No |
Backend ID |
20bcdc9453524b78a8beb1f6de21edb7 |
| BackendType |
string |
No |
Backend type |
OSS |
| StageName |
string |
No |
Specify the environment for the API operation.
|
TEST |
| BackendModelId |
string |
No |
Backend Model ID |
3bb6375bc71c4e4c95ce05b4e7a55a9d |
| BackendModelData |
string |
No |
Backend Model Data. |
{\"ServiceAddress\":\"http://121.40.XX.XX\"} |
| Description |
string |
No |
Description of the backend model definition |
modify plugin first |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Request ID. |
19B89B04-418B-55EE-94A8-6B42CA06002A |
| OperationId |
string |
Operation ID. |
c16a1880f5164d779f6a54f64d997cd9 |
Examples
Success response
JSON format
{
"RequestId": "19B89B04-418B-55EE-94A8-6B42CA06002A",
"OperationId": "c16a1880f5164d779f6a54f64d997cd9"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IdempotentParameterMismatch | The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.