Java
GroupRequest request = new GroupRequest("My Encryption Group");
new GroupsApi(apiClient).createGroup(request);
Python
api_instance = sdkms.v1.GroupsApi(api_client=client)
request = sdkms.v1.GroupRequest(name="My Encryption Group")
api_instance.create_group(request)
REST API using curl
$ curl <Endpoint URL>/sys/v1/groups -H 'Authorization: Bearer YhXwwa-6C...ig5g' -d '{"name": "My Encryption Group"}'