Add or remove users from a group
PATCH /groups/{env_org}/{groupname}
Overview
This API adds or removes users from the specified group.
Prerequisites
- Org admin (Environment admin) permissions
Request
PATCH https://{pod_path}/api/1/rest/public/groups/{env_org}/{groupname}
Path Parameters
Key | Description |
---|---|
pod_path |
Required. The path to your SnapLogic pod.
Example: |
org |
Required. The name of the SnapLogic Environment/Org. |
groupname |
Required. The name of the group. |
Query Parameters
None.
Request Header
Specify Basic
for authorization and application/json
for content type.
Authorization: Basic {your_encoded_security_credentials}
Content-Type: application/json
Request Body
Important: Only one of the following parameters can be used in each API call.
{
"add_user" : "..."
}
{
"remove_user" : "..."
}
Key | Type | Description |
---|---|---|
add_user |
string | The email address of the user to add to the group. |
remove_user |
string | The email address of the user to remove from the group. |