Retrieve list of organization groups

Retrieve a list of all the groups in an organization.

Request
Security:
path Parameters
orgId
required
string

The ID of the organization. Obtain this from GET /organizations.

Example: 62
Responses
200

Successful operation

400

Bad request error

401

Unauthorized error

403

Forbidden error

404

Not found error

500

Internal server error

get/organizations/{orgId}/groups
Request samples
curl -i -X GET \
  https://api-prod.surfsight.net/v2/organizations/:orgId/groups \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response samples
application/json
{
  • "data": [
    ]
}