# Checks whether a custom group is already published in SSP Determines if a custom group has packages published in the self service portal. Returns the collection ID and group details when published, which are needed for modify and delete operations. ## Endpoint GET `/dcapi/swDeployment/ssp/customGroupPublished` ## Request ### Request URL `https://{server-hostname}:8383/dcapi/swDeployment/ssp/customGroupPublished` ### Scope `SWDeployment.READ` ### Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Accept** `string` — Mandatory - `application/customGroupPublished.v1+json` ### Sample Request ```curl curl --request GET \ --url https://appdomain/dcapi/swDeployment/ssp/customGroupPublished \ --header 'Accept: application/customGroupPublished.v1+json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 #### Response Body — `application/json` `JSON Object` - **cgSelected** `integer` - 0 indicates NOT published, 1 indicates IS published in SSP - **groupType** `integer` - Group type: 1=Computer, 2=User. Present only when cgSelected=1. - **resourceId** `long` - Resource ID of the custom group. Present only when cgSelected=1. - **groupName** `string` - Display name of the custom group. Present only when cgSelected=1. - **collectionId** `long` - Collection ID of the published SSP configuration. Present only when cgSelected=1. - **groupCategory** `integer` - Group category: 1=Static, 2=Dynamic. Present only when cgSelected=1. ### HTTP Code 500 #### Response Body — `application/json` `JSON Object` - **errorCode** `string` - INTERNAL_ERROR for publish/modify failures, SW_INTERNAL_ERROR for SSP configuration errors - **errorMessage** `string` - Internal server error with details about the SSP publish or group operation failure ### Possible Response Codes - **200** — HTTP code - **500** — HTTP code ### Sample Response: HTTP 200 Group not published — only cgSelected is returned, other fields are absent ```json { "cgSelected": 0 } ``` Group is published with full details ```json { "cgSelected": 1, "groupType": 1, "resourceId": 301, "groupName": "Engineering Workstations", "groupCategory": 1, "collectionId": 5001 } ``` ### Sample Response: HTTP 500 Server error ```json { "errorMessage": "Internal Server Error", "errorCode": "SW_INTERNAL_ERROR" } ``` ## Rate Limits ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 30 | **Lock period:** 5 minutes Duration - Time window for the threshold. Threshold - Number of API calls allowed within the specified duration. Lock Period - Wait time before consecutive API requests.