Documentation
Sign inGet started

bird organization members update

Usage

Exemplo de código
bird organization members update <member-id> [flags]

Description

Update an org member's org-level role.
Changes the member's organization role; workspace role grants are unaffected. The member is identified by user ID.
Build the request from flags, a JSON OrganizationMemberUpdate body via --body-file ("-" reads stdin), or both — a flag overrides the matching body field. Run --example to print a ready-to-edit body, or --dry-run to print the resolved request without sending it.

Examples

Exemplo de código
# print the body shape (no credentials needed)
bird organization members update --example

# promote a member to owner
bird organization members update usr_123 --org-role owner

# remove the org role while keeping workspace grants
bird organization members update usr_123 --org-role ""

Options

Role

NameDescription
--org-roleOrg-level role to set: billing_admin or owner. Pass an empty value (--org-role "") to remove the org role while keeping workspace grants.

Request

NameDescription
--body-fileRead the JSON request body from this file; "-" reads stdin
--examplePrint a complete example request body, then exit
--dry-runPrint the resolved request without sending it, then exit
--idempotency-keyDeduplication key; a retry with the same key won't act twice

Options

NameDescription
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird organization members deleteRemove a member from the org
bird organization members getGet an org member
bird organization members listList org members