# Update

> Manage permissions for a cloud content delivery bucket.

Manage permissions for a cloud content delivery bucket.

## Command

```text
ugs ccd buckets permissions update <bucket-name> [options]
```

Example: In order to make a bucket "promote-only" (cannot create/update/delete entries) you can call
`ugs ccd buckets permissions update myBucketName -a Write -m Deny -r User`.

User refers to the developer clients (dashboard, CLI, Editor).
Client refers to the player (runtime) clients.

## Arguments

* `<bucket-name>`: The name of the bucket to manage permissions for.

## Options

| Option           | Alias                  | Description                                                                                                                                                                                                                                         |
| ---------------- | ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| environment-name | -e, --environment-name | The Unity environment name.                                                                                                                                                                                                                         |
| project-id       | -p, --project-id       | The Unity cloud project id.                                                                                                                                                                                                                         |
| action           | -a, --action           | Determines the action (ListEntries, ListReleases, Write) for which the bucket permission will be updated.                                                                                                                                           |
| role             | -r, --role             | Sets the role (Client, User) affected by the permission change. User role can be changed for additional management permission (Write) and Client role can be changed to allow access to additional Client API endpoints (ListEntries, ListRelease). |
| permissions      | -m, --permission       | Specifies whether to (Allow, Deny) the defined action.                                                                                                                                                                                              |
| help             | -?, -h, --help         | Display help and usage information.                                                                                                                                                                                                                 |
| quiet            | -q, --quiet            | Reduce logging to a minimum.                                                                                                                                                                                                                        |
| json             | -j, --json             | Use JSON as the output format.                                                                                                                                                                                                                      |
