Users

Set plans for 1 to 500 users

Changed on

If any ID is not an active human workspace member, returns 400 with details.userIds and changes nothing. alreadyOnPlanUserIds identifies members unchanged because they already had the plan.

post/billing/v1/ai-models-included/users/plan/bulk

Request

  • Base URL
    https://api.langdock.com
  • URL
    https://api.langdock.com/billing/v1/ai-models-included/users/plan/bulk
  • Auth
    HTTP bearer

Request body

userIdsstring[] required
plan'business' | 'business_max' required

Response

Successful response.

plan'business' | 'business_max' required
updatedUserIdsstring[] required
alreadyOnPlanUserIdsstring[] required

Changes