cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
711
Views
5
Helpful
3
Replies

Automatic license assignments

Rudrakshi
Cisco Employee
Cisco Employee
Query from Tom Walter in #webex4devs space:

First off, In the Org, we have set the auto template to not assign the basic messaging, basic space meetings or the Calling on Webex but i've noticed when using the people api, that the auto template is ignored and the basic services are being added. Is there a way around that or does it require an update to modify?



Best regards,
Rudrakshi Srivastava
3 Replies 3

Rudrakshi
Cisco Employee
Cisco Employee

I have verified 2 scenarios with setting the auto template to not assign the basic messaging, basic space meetings or the Calling on Webex: (using People API to create user in the org)

  1. If you do not pass any licenses while creating the User via People API, the auto template will be honored by default.
  2. If you pass even one license while creating the User via People API, it will override the default behavior of applying the auto template and assign only the ones you have added via API request.

Hope this helps!



Best regards,
Rudrakshi Srivastava

I am passing one licenses in for Webex Meetings Suite and four additional licenses are being added which relate to Basic Messaging, Basic Space Meetings, Cal on Webex and Sharing.

I am passing in:  


"licenses": [
    "Y2lzY29zDSAcGFyazovL3VzL0xJQ0VOU0UvZWU1NzM0NjItOGt"
  ],
 
and this is what is being returned when the user is created.
 
 "licenses": [
        "Y2lzY29zcGFyazovL3VzL0xJQ0VOU0U",
        "Y2lzY29zcGFyazovL3VzL0xJQ0VOU0U",
        "Y2lzY29zcGFyazovL3VzL0xJQ0VOU0U",
        "Y2lzY29zcGFyazovL3VzL0xJQ0VOU0U,
        "Y2lzY29zcGFyazovL3VzL0xJQ0VOU0U"
    ],

 

-----

License id's are changed to protect the innocent.  

 

I can send you the full output if you wish to see it.

 

Tom

Tom

This is expected when creating a new user and assigning licenses via the API. As mentioned before the auto template from CH isn't used when you assign licenses via the API as there is a different workflow that's followed, which you can't control. After the user is created you can update the user to remove the "Free message", "Free meeting" and "Call on Webex" licenses but the "Free screen share" one can not be removed. Even if you were trying to remove all licenses from the user the "Free screen share" one has to remain and the system won't let you remove it.