Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 2.39 KB

GroupsApi.md

File metadata and controls

53 lines (36 loc) · 2.39 KB

\GroupsApi

All URIs are relative to https://console.jumpcloud.com/api/v2

Method HTTP request Description
GroupsList Get /groups List All Groups

GroupsList

[]Group GroupsList(ctx, contentType, accept, optional) List All Groups

This endpoint returns all Groups that exist in your organization. #### Available filter fields: - name - disabled - type #### Sample Request curl -X GET \\ https://console.jumpcloud.com/api/v2/groups \\ -H 'accept: application/json' \\ -H 'content-type: application/json' \\ -H 'x-api-key: {API_KEY}'

Required Parameters

Name Type Description Notes
ctx context.Context context for logging, tracing, authentication, etc.
contentType string [default to application/json]
accept string [default to application/json]
optional map[string]interface{} optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a map[string]interface{}.

Name Type Description Notes
contentType string [default to application/json]
accept string [default to application/json]
fields []string The comma separated fields included in the returned records. If omitted, the default list of fields will be returned.
filter []string Supported operators are: eq, ne, gt, ge, lt, le, between, search, in
limit int32 The number of records to return at once. Limited to 100. [default to 10]
skip int32 The offset into the records to return. [default to 0]
sort []string The comma separated fields used to sort the collection. Default sort is ascending, prefix with `-` to sort descending.
xOrgId string [default to ]

Return type

[]Group

Authorization

x-api-key

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]