API の一覧

メンバーの役割・課金状態の変更

メンバー Markdown で表示

PATCH/api/user/{userId}

役割 (role) か課金状態 (billingStatus) のどちらか一方を変更します。オーナーへの変更はできないため、オーナーの移譲は専用の手順で行ってください。

パラメーター

userIdintegerpath必須
変更するユーザーの ID です。

レスポンス

  • 200Updated member state
  • 400Transition not allowed for the current member state
  • 401Authentication is required
  • 403Admin only
  • 404User not found in this space
  • 409The member state changed concurrently

Repsonaはクッキーを使ってサービスを提供しています。当社のウェブサイトにアクセスすることにより、Cookieポリシー に記載されているCookieの使用に同意するものとします。