UpdateHttpApiOperation
Updates an operation of an HTTP API.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apig:UpdateHttpApiOperation |
update |
*HttpApi
|
None | None |
Request syntax
POST /v1/http-apis/{httpApiId}/operations/{operationId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| httpApiId |
string |
Yes |
The ID of the HTTP API that contains the operation. |
api-xxx |
| operationId |
string |
Yes |
The ID of the operation to update. |
op-xxx |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| operation | HttpApiOperation |
No |
The operation definition. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| requestId |
string |
The request ID. |
043360DA-ED3B-5386-9B7A-D94DECF99A30 |
| code |
string |
The status code. |
Ok |
| message |
string |
The response message. |
success |
Examples
Success response
JSON format
{
"requestId": "043360DA-ED3B-5386-9B7A-D94DECF99A30",
"code": "Ok",
"message": "success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.