# diagrid idp update

Update an IDP federation

### Description

Update an IDP federation.

Array flags use replace semantics: omit a flag to leave it unchanged, pass "\[]"
to clear it, or pass values to replace the list wholesale.

```
diagrid idp update <name> [flags]
```

### Options

```
      --type string                Identity provider type (auth0, entra, google, oidc)
      --issuer string              OpenID Connect issuer URL
      --audience strings           Accepted 'aud' claim values (replace); pass [] to clear
      --jwks-uri string            JWKS endpoint override; pass empty to clear
      --required-scope strings     Required scopes (replace); pass [] to clear
      --accept-algorithm strings   Accepted JWS algorithms (replace); pass [] to clear
      --claim-subject string       Inbound claim carrying the subject identifier
      --claim-tenant string        Inbound claim carrying the tenant identifier
      --claim-scopes string        Inbound claim carrying granted scopes
      --scope-format string        Encoding of the scopes claim (space_delimited or array)
      --attribute stringArray      Attribute mapping as name=upstreamClaim, forwarded under the token's https://diagrid.io/attributes claim (replace); repeatable; pass [] to clear
  -h, --help                       help for update
```

### Options inherited from parent commands

```
      --api-key string   Diagrid Cloud API key
```

### SEE ALSO

- [diagrid idp](./idp.md)	 - Manage IDP federations
