Sign inGet Started

bird members update

Usage

Exemple de code
bird members update <member-id> [flags]

Description

Update a member's workspace role
Change a user's workspace role. They must already be a member of this workspace.
Build the request from flags, a JSON MemberUpdate 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

Exemple de code
# print the body shape (no credentials needed)
bird members update --example

# the body it prints:
Exemple de code
{
  "role": "admin"
}

Options

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
--roleWorkspace role to assign: - admin: full read and write access, including managing members. - developer: read and write access to messaging and sending features; read-only on members and workspace settings. - analyst: read-only access to the workspace. Possible values: admin, developer, analyst. (required; or in --body-file)
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird members createCreate a workspace member
bird members deleteDelete a member from the workspace
bird members listList workspace members

Ressources associées

Poursuivez avec la documentation, les guides et les exemples sur ce sujet. Les ressources sont en anglais.

Obtenir un guide d'implémentation