Skip to content

MemberDirectory.deactivate

POST /{namespace}/member-directories/{directory}/deactivate

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

Mode
do
Event
MemberDirectory.deactivated

Deactivate stops a Member Directory’s pushes; the people it added keep their Roles until an admin removes them.

Inputs

InputTypeRequiredDescription
directoryMember DirectoryrequiredThe Member Directory to turn off.

Outputs

OutputTypeRequiredDescription
directoryMember DirectoryrequiredThe Member Directory, now inactive.

Effects

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.MemberDirectory.deactivate

When it waits

GateDefault
Decision classLow: two-way, nothing at stake
Delay windowNone: it runs once review passes.
LimitThe call Limit of the Permission it runs under.
Over the LimitIt waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled.