Fetches the list of custom groups available for SSP publishing

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Retrieves custom groups that can be used to publish software packages in the self service portal, filtered by publish type (computer or user).

Request URL

https://{serverurl}/dcapi/swDeployment/publish/groupList

Scope

DesktopCentralCloud.SWDeployment.READCopied!

Header

Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

AcceptstringMandatory
application/publishGroupList.v1+jsonapplication/publishGroupList.v1+jsonCopied!

- Query Parameters

searchValuestringOptional

Optional search string to filter groups by name

publishTypestringMandatory

Required. Values: computer or user.

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request GET \
  --url 'https://appdomains/dcapi/swDeployment/publish/groupList?publishType=SOME_STRING_VALUE' \
  --header 'Accept: application/publishGroupList.v1+json' \
  --header 'Authorization: Zoho-oauthtoken  d92d4xxxxxxxxxxxxx15f52'

Response Parameters

- HTTP code 200

Response Body - application/json
JSON Object
Hide Sub-Attributes
cgDetailsListJSON Array

Array of custom groups available for SSP publishing

Show Sub-Attributes
JSON Object
Show Sub-Attributes
groupResourceIdlong

Resource ID of the custom group

groupNamestring

Display name of the custom group

groupTypeinteger

Group type: 1=Computer, 2=User

- HTTP code 500

Response Body - application/json
JSON Object
Hide Sub-Attributes
errorCodestring

INTERNAL_ERROR for publish/modify failures, SW_INTERNAL_ERROR for SSP configuration errors

errorMessagestring

Internal server error with details about the SSP publish or group operation failure

Possible Response Codes

200HTTP code
500HTTP code

Sample Response: HTTP 200

Available groups

Copied!
  {
    "cgDetailsList": [
      {
        "groupName": "Engineering Workstations",
        "groupType": 1,
        "groupResourceId": 301
      }
    ]
  }
                
Show full

Sample Response: HTTP 500

Server error

Copied!
  {
    "errorMessage": "Internal Server Error",
    "errorCode": "INTERNAL_ERROR"
  }
                
Show full

Duration: 1 minute | Threshold: 100 | 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.