Skip to content
CLIProductDomains and accessMember Directory

Member Directory commands: deactivate, deprovision, provision

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

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

MemberDirectory.deactivate

Deactivate stops a Member Directory’s pushes; everyone it added keeps their Roles until an admin removes them. Verb page.

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

Emits MemberDirectory.deactivated.

Inputs

InputTypeRequiredDescription
directoryMember DirectoryrequiredThe Member Directory to turn off.

Returns

OutputTypeRequiredDescription
directoryMember DirectoryrequiredThe Member Directory, now inactive.

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.deactivate --json '{"directory":"directory_qZldlwGLVN"}'

MemberDirectory.deprovision

Deprovision ends one person’s access to a Tenant in one Action when the Customer’s directory removes them. Verb page.

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

Emits MemberDirectory.deprovisioned.

Inputs

InputTypeRequiredDescription
directoryMember DirectoryrequiredThe Member Directory that removed the person.
personPersonrequiredThe person removed.

Returns

OutputTypeRequiredDescription
personPersonrequiredThe person, with no Role left in the Tenant.
memberDirectoryMember DirectoryrequiredThe Member Directory that removed the person.

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.deprovision --json '{"directory":"directory_qZldlwGLVN","person":"person_sLqbXbW683"}'

MemberDirectory.provision

Provision starts a Customer’s Member Directory pushing people and groups into its Tenant, with groups mapped to Roles. Verb page.

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

Emits MemberDirectory.provisioned.

Inputs

InputTypeRequiredDescription
tenantTenantrequiredThe Tenant it fills.
groupRolesjsonWhich group fills which Role.

Returns

OutputTypeRequiredDescription
directoryMember DirectoryrequiredThe Member Directory, now active.

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.provision --json '{"tenant":"ten_Bu63f0he26"}'