Skip to content

Role.vacate

POST /{namespace}/roles/{role}/vacate

Vacate takes the Worker out of a Role, and the seat’s Tasks route to the Role it escalates to until a new Worker is staffed.

Noun
Role
Mode
do
Event
Role.vacated

Inputs

InputTypeRequiredDescription
roleRolerequiredThe Role to empty.
reasontextWhy the seat empties.

Outputs

OutputTypeRequiredDescription
roleRolerequiredThe vacant Role.

Effects

  • Emits Role.vacated.
  • Performed by the People Lead.
  • Two-way: it runs at once, in the try, send and do modes.
  • Keeps the Role contract, its Processes and its Mailbox, so the next Worker inherits them unchanged.

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.Role.vacate

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.