Skip to main content
Question

CDF Access Management - How to updated capabilities into existing groups.

  • April 1, 2026
  • 4 replies
  • 21 views

We have requirement to update capabilities in existing groups in CDF using Python SDK/API, we can add capabilities while creating group using python SDK, but if we want to updated that created group no provision for that. we tried client.iam.groups.create(group) but it creates new group with same name, in this case how we can update capabilities in group?

4 replies

Mithila Jayalath
Seasoned Practitioner
Forum|alt.badge.img+8

@AKhan1027 Groups do not support direct updates via the API or Python SDK. The only available operations on groups are create and delete

Recommended Workaround is to update capabilities on an existing group, you need to follow this pattern:

  1. Store the existing group's details (capabilities, source ID, members, etc.)

  2. Create a new group with the updated capabilities

  3. Delete the old group

Please let me know if you have any further questions.


  • Author
  • Active
  • April 1, 2026

In CDF, Groups must have id with it, does it not hamper if i delete group and create new one? 


Mithila Jayalath
Seasoned Practitioner
Forum|alt.badge.img+8

The group id is autogenerated and it will be unique as per my knowledge. Make sure to create the new group with updated capabilities first and then delete old group.


  • Author
  • Active
  • April 2, 2026

I’m wondering if groups are mapped strictly mapped with group id and cdf checks for access on the group id but not group name, then creating new will not make sense