Modifies permissions of a layer.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
PUT /2023-03-30/layers/{layerName}/acl HTTP/1.1
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
layerName | string | Yes | The layer name. | my-layer |
publicdeprecated | string | No | Specify whether the layer is a public layer. Valid values: true and false. | true |
acl | string | No | Specify the access permission of the layer. A value of 1 indicates public and a value of 0 indicates private. The default value is 0. | 1 |
Response parameters
Examples
Sample success responses
JSON
format
{}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-07-03 | The API operation is not deprecated.. The request parameters of the API has changed | View Change Details |
2024-02-22 | The internal configuration of the API is changed, but the call is not affected | View Change Details |
2023-08-30 | API Description Update | View Change Details |
2023-08-30 | API Description Update | View Change Details |
2023-06-28 | Add Operation | View Change Details |