create_member_to_group_by_id
Add a member to a group identified by its identification key.
This API is available in Guardium V9.5 and later.
REST API syntax
This API is available as a REST service with the
POST
method. Call this API as follows:
POST https://[Guardium hostname or IP address]:8443/restAPI/group_member_by_group_id
GuardAPI syntax
create_member_to_group_by_id parameter=value
Parameters
Parameter | Value type | Description |
---|---|---|
id | Integer | Required. Identifies the group by its identification key. |
member | String |
Required. The group member name, which must be unique within the group. The group member name might be a tuple, that is, a single composite group member formed of multiple attributes. For more information, see Tuple groups. |
Examples
Use this command to add the group member turkey to the group with identification key 100005:
grdapi create_member_to_group_by_id id=100005 member=turkey
Use this command to add a group member to the group with identification key 100005. For this group, a 5-tuple member is required:
grdapi create_member_to_group_by_id id=100005 member=10.0.1.1+SrcApp+DBUser2+%+SvcName+OSUser2+%