POST
/
v1
/
card-hierarchies
/
{cardHierarchyId}
/
groups
curl --request POST \
  --url https://integration-api-cat2./%7B{environment}%7D.ext.%7B{realm}%7D.cia.enfuce.com/hierarchy/v1/card-hierarchies/{cardHierarchyId}/groups \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "parentId": "<string>",
  "type": "ROOT"
}'
{
  "id": "<string>",
  "name": "<string>",
  "parentId": "<string>",
  "type": "ROOT"
}

Path Parameters

cardHierarchyId
string
required

Card hierarchy id

Query Parameters

auditUser
string
required

The audit user to log the request

Body

application/json
name
string
required

Name of the group

parentId
string
required

Id of the parent group

type
enum<string>
required

Only INTERMEDIATE and CARD are allowed here

Available options:
ROOT,
INTERMEDIATE,
CARD

Response

201
application/json
Card Hierarchy group successfully created
id
string
required

Generated id of the group

name
string
required

Name of the group

type
enum<string>
required

Type of the group

Available options:
ROOT,
INTERMEDIATE,
CARD
parentId
string

Id of the parent group