# Save Sharing Group Sql Save Sharing Group Sql Endpoint: POST /rest/2.0/SHARING_GROUP_SQL Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.EntityId` (integer) EntityId - `brmObjects.SharingGroupId` (integer) SharingGroupId - `brmObjects.SharingGroupRelCondition` (string) SharingGroupRelCondition - `brmObjects.Id` (string, required) Id - `brmObjects.SharingGroupRuleId` (integer) SharingGroupRuleId ## Response 200 fields (application/json): - `retrieveResponse` (object) - `retrieveResponse.EntityId` (integer) EntityId - `retrieveResponse.SharingGroupId` (integer) SharingGroupId - `retrieveResponse.SharingGroupRelCondition` (string) SharingGroupRelCondition - `retrieveResponse.Id` (string) Id - `retrieveResponse.SharingGroupRuleId` (integer) SharingGroupRuleId ## Response 400 fields (application/json): - `error` (string) Bad request - `message` (string) Bad request ## Response 401 fields (application/json): - `error` (string) Unauthorized - `message` (string) Unauthorized ## Response 404 fields (application/json): - `error` (string) Not found - `message` (string) Not found ## Response 429 fields (application/json): - `error` (string) Too many requests - `message` (string) Too many requests ## Response 500 fields (application/json): - `error` (string) Internal error - `message` (string) Internal error