# Add IB Group Members

## POST /v1/admin/group/{gid}/membership/add

> Add members to an Information Barrier group.

```json
{"openapi":"3.1.1","info":{"title":"Pod API","version":"20.17.1"},"servers":[{"url":"http://yourpodURL.symphony.com/pod"}],"paths":{"/v1/admin/group/{gid}/membership/add":{"post":{"summary":"Add members to an Information Barrier group.","parameters":[{"schema":{"type":"string"},"name":"gid","description":"URL-Safe encoded Group ID","in":"path","required":true},{"schema":{"type":"string"},"name":"sessionToken","description":"Session authentication token.","in":"header","required":true}],"tags":["InfoBarriers"],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkActionResult"}}}},"400":{"description":"Client error, see response body for further details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized: Invalid session token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden: Caller lacks necessary entitlement.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Server error, see response body for further details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntegerList"}}},"required":true}}}},"components":{"schemas":{"BulkActionResult":{"description":"The results of list based bulk action. The list contains the result messages\nin the same order as submitted. The message will be an empty string if the action\nwas successful for item in that index.\n","properties":{"overallResult":{"type":"string","enum":["SUCCESS","FAIL"]},"results":{"type":"array","items":{"type":"string"}}}},"Error":{"type":"object","properties":{"code":{"type":"integer","format":"int32"},"message":{"type":"string"}}},"IntegerList":{"type":"array","items":{"type":"integer","format":"int64"}}}}}
```

As the example shows, the users to be added to the Information Barrier group (specified as a list of user IDs) must be included in the data parameter.

> #### 🚧 Roles and Privileges
>
> Calling this endpoint requires the ACCESS\_USER\_PROVISIONING\_API privilege.\
> See [Bot Permissions](https://docs.developers.symphony.com/building-bots-on-symphony/configuration/bot-permissions) for a list of roles and associated privileges.

Note: The underlying call to add the user ID is synchronous, adding a large number of ID to an Information Barrier group may result in a long wait for this call to return.\
The maximum number of user IDs that can be passed in one call is conditioned by the size of that parameter: Maximum 2Mb.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://rest-api.symphony.com/main/information-barrier-groups/add-ib-group-members.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
