Skip to main content
PUT
Set file ACL

Authorizations

Authorization
string
header
required

Key on the API preset, or any key whose permissions include the ones this API lists. APIs with no required permission accept any key. Prefix it with "Key ", e.g. Authorization: Key YOUR_API_KEY

Query Parameters

url
string<uri>
required

Full URL of the fal CDN file, as returned by the upload APIs (https://v3.fal.media/files/b//). Must not contain query parameters.

Example:

"https://v3.fal.media/files/b/0a1b2c3d/output.png"

Body

application/json

Access Control List for a fal CDN file

default
enum<string>
required

Fallback decision when no user-specific rule matches

Available options:
allow,
forbid,
hide
Example:

"allow"

rules
object[]

User-specific overrides to the default decision

Response

ACL applied to the file

Access Control List currently applied to the file

default
enum<string>
required

Fallback decision when no user-specific rule matches

Available options:
allow,
forbid,
hide
Example:

"allow"

rules
object[]
required

User-specific overrides to the default decision. Users are returned as nicknames where possible.