Skip to content
CLIProductDomains and accessMember Directory

Member Directory commands: update

The Member Directory Verbs update as CLI commands, with inputs, result, refusals and an example.

Reference for Member Directory, one group of Member Directory commands.

MemberDirectory.update

Changes the given properties of a Member Directory. Verb page.

Text
npx startup-builder do MemberDirectory.update --json '<input>' [--try | --send | --do]

Emits MemberDirectory.updated.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Member Directory.
groupRolesjsonWhich directory group fills which Role in the Tenant.
lastChangeAtdatetimeWhen the Customer’s directory last pushed a change.

Returns

OutputTypeRequiredDescription
memberDirectoryMember DirectoryrequiredThe Member Directory.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

Terminal
npx startup-builder do MemberDirectory.update --json '{"id":"directory_qZldlwGLVN","groupRoles":{}}'