ユーザーの支払ステータスを更新する


PATCH /api/user/:userId/billing_status

指定したユーザーの支払ステータスを更新します。

Endpoint URL

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

Authorization

Owner Admin

Path parameters

NameTypeDescription
userId*stringユーザーID

Body parameters

NameTypeDescription
billingStatus*enum (active, inactive)支払ステータス

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
  }
}

人を中心に、もっといいチームに!

Repsonaはチームのための理想的な仕事管理ツールです
無料ではじめる