Set file ACL
Replaces the Access Control List of a fal CDN file.
The ACL consists of a default decision (allow, forbid, or hide) plus
optional per-user rules that override the default. Rule users may be specified
by nickname or user ID. Setting default to allow with no rules makes the
file public; forbid or hide restricts it to the rules you provide.
Rules referencing users that do not exist are dropped. The response reflects the ACL actually applied, so verify it contains the rules you sent.
Authentication: Required. The API key must have the assets:write permission.
Authorizations
API key must be prefixed with "Key ", e.g. Authorization: Key YOUR_API_KEY
Query Parameters
Full URL of the fal CDN file, as returned by the upload APIs (https://v3.fal.media/files/b//). Must not contain query parameters.
"https://v3.fal.media/files/b/0a1b2c3d/output.png"
Body
Response
ACL applied to the file
Access Control List currently applied to the file