Add or remove users from a security group

patch

/api/REST/2.0/system/security/group/{id}/users

Adds or removes users from a security group.

Request

Supported Media Types
Path Parameters
  • The security group id, from which you want to add or remove users
Body ()
Array of users to add or remove from the group
Root Schema : schema
Type: array
Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : SecurityGroupUser
Type: object
Title: SecurityGroupUser
Show Source
Nested Schema : User
Type: object
Title: User
Show Source
Nested Schema : betaAccess
Type: array
A list of strings: beta programs the user can access.
Show Source
Nested Schema : capabilities
Type: array
A list of strings: the user's capabilities.
Show Source
Nested Schema : crmUserNames
Type: object
Title: crmUserNames
Show Source
Nested Schema : interfacePermissions
Type: array
A list of the user's interface permissions.
Show Source
Nested Schema : permissions
Type: array
The permissions for the user granted to your current instance. This is a read-only property.
Show Source
Nested Schema : UserPreferences
Type: object
Title: UserPreferences
Show Source
Nested Schema : productPermissions
Type: array
A list of the user's product permissions.
Show Source
Nested Schema : securityGroups
Type: array
The user's security groups.
Show Source
Nested Schema : shortcuts
Type: array
This parameter is not used.
Show Source
Nested Schema : typePermissions
Type: array
A list of the user's type permissions.
Show Source
Nested Schema : InterfacePermission
Type: object
Title: InterfacePermission
Show Source
Nested Schema : nestedInterfacePermissions
Type: array
Show Source
Nested Schema : ProductPermission
Type: object
Title: ProductPermission
Show Source
Nested Schema : SecurityGroup
Type: object
Title: SecurityGroup
Show Source
Nested Schema : TypePermission
Type: object
Title: TypePermission
Show Source
Nested Schema : TypePermissions
Type: object
Title: TypePermissions
Show Source

400 Response

Bad request. See Status Codes for information about other possible HTTP status codes.

401 Response

Unauthorized. See Status Codes for information about other possible HTTP status codes.

403 Response

Forbidden. See Status Codes for information about other possible HTTP status codes.

404 Response

The requested resource was not found. See Status Codes for information about other possible HTTP status codes.

500 Response

The service has encountered an error. See Status Codes for information about other possible HTTP status codes.
Back to Top