Portal Consumer Groups
Manage the consumer groups that drive portal visibility and access rules.
The Portal Consumer Group object
object"consumer.group"requiredidstringrequiredstatus"active" | "archived" | "deleted"requirednamestringrequireddescriptionstringrequirednullableis_defaultbooleanrequiredcreated_atdaterequiredupdated_atdaterequiredEndpoints
List portal consumer groups
GET
/portals/:portal_id/consumer-groupsReturns a paginated list of consumer groups for a portal.
Path parameters
portal_idstringrequiredThe unique identifier for the portal
Query parameters
status"active" | "archived" | "deleted" or "active" | "archived" | "deleted"[]optionalsearchstringoptionalExample request
Get portal consumer group
GET
/portals/:portal_id/consumer-groups/:consumer_group_idRetrieves a portal consumer group by ID.
Path parameters
portal_idstringrequiredThe unique identifier for the portal
consumer_group_idstringrequiredThe unique identifier for the consumer_group
Example request
Create portal consumer group
POST
/portals/:portal_id/consumer-groupsCreates a new consumer group for the portal.
Path parameters
portal_idstringrequiredThe unique identifier for the portal
Request body
namestringrequireddescriptionstringoptionalis_defaultbooleanoptionalExample request
Update portal consumer group
PATCH
/portals/:portal_id/consumer-groups/:consumer_group_idUpdates a consumer group for the portal.
Path parameters
portal_idstringrequiredThe unique identifier for the portal
consumer_group_idstringrequiredThe unique identifier for the consumer_group
Request body
namestringoptionaldescriptionstringoptionalis_defaultbooleanoptionalExample request
Delete portal consumer group
DELETE
/portals/:portal_id/consumer-groups/:consumer_group_idArchives a consumer group for the portal.
Path parameters
portal_idstringrequiredThe unique identifier for the portal
consumer_group_idstringrequiredThe unique identifier for the consumer_group