Plans and users

I’d like to understand how plans/licenses and users work, in particular how licenses are associated to users.

Which App Type (OAuth / Chatbot / JWT / Webhook)?
server-to-server JWT

I’m trying to understand if I got it correctly.

  1. I create a sub-account under my master account
  2. I call “POST /accounts/{accountId}/plans” to buy plans under a specific sub account. My master account will pay for the license fee. Ex: type: monthly, hosts: 3
  3. I create users in the sub-account, with type: 2 (licensed). Creation will fail if no licenses are available in the sub-account
  4. (optional) I can add/remove licenses to users changing the type with " PATCH /users/{userId}" changing the type from 2 to 1 or from 1 to 2. Request will fail if there are no more free licenses.

Is this all correct?

Hey @bragma,

Yep, you nailed it! :slight_smile:


@tommy, thanks for your answer.

We are still waiting to get in touch with ISV but it may turn out we can’t afford partner program or to have a master account. How does the scenario changes if we only have a single account?

Hey @bragma,

You can do this without an ISV plan too. :slight_smile: You just won’t be able to create the custCreate users, you can still create the other user types.