Skip to content

waldur-cli team user update

Update users.

Usage

1
waldur-cli team user update <UUID> (--request JSON | --request-file PATH | --generate-skeleton)
Flag Type Description
<UUID> positional Required unless --generate-skeleton (the template doesn't need a specific resource).
--request JSON string Request body as inline JSON.
--request-file PATH path Read the request body from a JSON or YAML file.
--generate-skeleton [FORMAT] json yaml

Examples

See the fillable template first:

1
waldur-cli team user update --generate-skeleton

Then fill it in and submit (only the fields you're changing need a value -- null fields in the template are omitted, not sent literally):

1
waldur-cli team user update <uuid> --request '{"active_isds":null,"address":null,"affiliations":null,"agree_with_policy":null,"birth_date":null,"can_use_personal_access_tokens":null,"country_of_residence":null,"deactivation_reason":null,"description":null,"eduperson_assurance":null,"email":"","first_name":null,"gender":null,"image":null,"is_active":null,"is_identity_manager":null,"is_staff":null,"is_support":null,"job_title":null,"last_name":null,"managed_isds":null,"nationalities":null,"nationality":null,"native_name":null,"notifications_enabled":null,"organization":null,"organization_country":null,"organization_registry_code":null,"organization_type":null,"personal_title":null,"phone_number":null,"place_of_birth":null,"preferred_language":null,"slug":null,"token_lifetime":null,"username":""}'

Global options

Every command also accepts --api-url, --token, --profile, --format, and --debug; mutating commands additionally accept --dry-run. See Getting started for what each does.