> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fly.io/llms.txt
> Use this file to discover all available pages before exploring further.

# fly sprites config update

Update a sprite's URL authentication, private access setting or labels.

\--url-auth is "public" (no authentication) or "sprite" (organization members
only). --private-access applies to private URLs and is "admins" or "org\_users".

## Usage

```
fly sprites config update [flags] [sprite-name]
```

## Examples

```
  fly sprites config update --url-auth public
  fly sprites config update my-sprite --label env:prod --label team:web
  fly sprites config update --clear-labels
```

## Options

```
      --clear-labels            Clear all existing labels before applying --label
  -h, --help                    help for update
  -j, --json                    JSON output
      --label stringArray       Label to apply to the sprite (can be repeated)
  -o, --org string              The target Fly.io organization
      --private-access string   Who can reach a private sprite URL: "admins" or "org_users"
  -s, --sprite string           The target sprite. Defaults to the one set with 'fly sprites use'
      --url-auth string         URL authentication: "public" or "sprite"
```

## Global Options

```
  -t, --access-token string   Fly.io API token to use, overriding FLY_ACCESS_TOKEN, FLY_API_TOKEN and the saved login
      --debug                 Print additional logs and traces
      --verbose               Verbose output
```

## See Also

* [fly sprites config](https://docs.fly.io/flyctl/cmd/fly_sprites_config)	 - Show or update a sprite's configuration
