Update the user's billing status


PATCH /api/user/:userId/billing_status

Updates the payment status of the specified user.

Endpoint URL

https://<space_id>.repsona.com/api/user/:userId/billing_status

Authorization

Owner Admin

Path parameters

NameTypeDescription
userId*stringUser ID

Body parameters

NameTypeDescription
billingStatus*enum (active, inactive)billing status

Example responses

{
  "requestedBy": 1,
  "user": {
    "createdAt": 1672498800000,
    "updatedAt": 1672498800000,
    "id": 1746,
    "name": "Reon",
    "fullName": "Reon Walls",
    "avatarUrl": "/dummy/avatar1.png",
    "billingStatus": "active",
    "extra": null,
    "space": 1,
    "language": 2,
    "timeZone": 100
  }
}

Human-centered, best team!

Repsona is an ideal work management tool for your team
Get started for free