Policy Groups

Create a new Policy Group

This endpoint allows you to create a new Policy Group.

Sample Request

curl -X POST https://console.jumpcloud.com/api/v2/policygroups \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: {API_KEY}' \
  -d '{
    "name": "{Group_Name}"
  }'
post/policygroups

Request

Headers

x-org-idstring

Organization identifier that can be obtained from console settings.

Request body

namestring required

Display name of a Policy Group.

Response

Created

attributesGraphAttributes nullable

The graph attributes.

descriptionstring

Description of a Policy Group

emailstring

E-mail address associated with a Policy Group

idstring

ObjectId uniquely identifying a Policy Group.

namestring

Display name of a Policy Group.

organizationObjectIdstring nullable

id of the organization owning this group

type'policy_group'

The type of the group; always 'policy' for a Policy Group.

Changes

No recorded changes to this operation across all 1 revision of this API.