Create an empty group

Groups can only be created in Internal Storage, LDAP/Active Directory, and OpenID authorization realms.

Request

PUT https://{hostname}:{port}
    /cli/group/create?{parameters}
Accept: {contentType}
Table 1. Request parameters
Parameter Type Required Description
group string true Name of the group
description string false Description of the group
authorizationRealm string true Name of the authorization realm. If an OpenID realm, the group name must be properly identified and will not be validated against the OpenID Provider.
Table 2. Header parameters
Parameter Type Required Description
Accept
  • application/json
  • application/yaml
true

Example response

{
  "id": "a5be904f-d65a-41ae-9bfd-0a0384c90eeb",
  "name": "group1",
  "enabled": true
}

Related CLI command: createGroup.