App user provisioning

Cancel User Subscription

Deactivate a user and invalidate all their tokens. Use this when a user cancels their subscription or should lose access. The user is marked inactive and all tokens are revoked. To reactivate, generate a new token via the create_auth_token endpoint.

post/v2/user/cancel

Request

  • Base URL: https://api.village.ai
  • URL: https://api.village.ai/v2/user/cancel
  • Auth: HTTP bearer

Response

User subscription cancelled successfully

Example response

{
  "data": {
    "message": "User subscription cancelled successfully",
    "external_user_id": "user_abc123"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.