Modifies permissions of a layer.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
PUT /2021-04-06/layers/{layerName}/acl
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
layerName | string | Yes | The name of the layer. | MyLayer |
public | boolean | No | Specifies whether the layer is public.
| true |
X-Fc-Account-Id | string | No | The ID of your Alibaba Cloud account. | 188077086902**** |
X-Fc-Date | string | No | The time when the operation is called. The format is: EEE,d MMM yyyy HH:mm:ss GMT. | Wed, 11 May 2022 09:00:00 GMT |
X-Fc-Trace-Id | string | No | The trace ID of the request for Function Compute API. | asdf**** |
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 |
---|
No change history