Actions35
- Bucket Actions
- IAM Actions
- Object Actions
Bucket → Put Policy
AI-generatedSummary
Set or update the policy of a specified Mega.nz S4 bucket by providing a valid S3-compatible bucket policy JSON object.
Inputs
- Bucket Name (required) — Specify the name of the bucket to which the policy will be applied.
- Policy (required) — Provide the bucket policy as a JSON object in the valid S3 bucket policy format.
Output shape
a single record representing the set bucket policy operation result
The output represents the response from the Mega.nz S4 API confirming the policy has been set; no pagination or multiple records are expected.