UpdateLayer
Updates the name and description of a specified layer.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pairec:UpdateLayer |
update |
*All Resource
|
None | None |
Request syntax
PUT /api/v1/layers/{LayerId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| LayerId |
string |
Yes |
The layer ID. You can call the ListLayers operation to obtain this ID. |
3 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| InstanceId |
string |
Yes |
The instance ID. You can obtain this ID by calling the ListInstances operation. |
pairec-test1 |
| Name |
string |
Yes |
The layer name. |
layer1 |
| Description |
string |
Yes |
The layer description. |
This is a test. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| RequestId |
string |
The request ID. |
0EA9215E-EC21-53AB-B8D9-D3DEA90D040A |
Examples
Success response
JSON format
{
"RequestId": "0EA9215E-EC21-53AB-B8D9-D3DEA90D040A"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.