---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://segmentstream.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# segmentstream org role update

Change a custom role, after reviewing its impact. Prints JSON.

## Usage

Command syntax

```
segmentstream org role update [OPTIONS] ROLE-SLUG
```

## Options

- `--workspace TEXT`

  Workspace UUID, otherwise use project linkage

- `--api-url URL`

- `--after TEXT`

  Opaque continuation cursor from the previous page

- `--name TEXT`

  \[required]

- `--description TEXT`

- `--permission TEXT`

  Stable permission slug; repeat for each permission

- `--impact-digest TEXT`

  Bindings digest from a fully reviewed role-impact response \[required]

- `--observed-digest TEXT`

  Definition digest from a fresh roles response \[required]

- `--organization ORG-ID`

  Organization for this command

- `--help`

  Show this message and exit.

[Read as Markdown ↗](https://segmentstream.com/docs/cli/org/role/update.md)
