unban_member
Lift a ban on a project member. Status rolls to churned; next successful payment promotes them back to customer.
Purpose
Lift a ban on a project member. Status moves from banned to churned — if the subscriber still has active subscriptions, the next successful-payment transition promotes them to customer automatically. Delegates to an Action so cache invalidation runs.
Required ability
project-user:update
Input schema
{
"type": "object",
"required": ["member_id"],
"properties": {
"member_id": {
"type": "string",
"description": "UUID of the banned project member to unban."
}
}
}Output shape
{
"data": {
"id": "usr_01HX...",
"status": "churned"
}
}Example prompts
"Unban member
usr_01HX...."
"Lift the block on this subscriber."
Failure modes
RESOURCE_NOT_FOUND— unknownmember_id, or the member belongs to a team outside the token's scope.TOKEN_MISSING_ABILITY— token lacksproject-user:update.
Related
How is this guide?