Skip to main content
POST
/
v1
/
card-hierarchies
Create Card Hierarchy (Root Group)
curl --request POST \
  --url 'https://integration-api-cat2.{{environment}}.ext.{{realm}}.cia.enfuce.com/hierarchy/v1/card-hierarchies' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "active": true
}
'
{
  "id": "<string>",
  "name": "<string>",
  "active": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

auditUser
string
required

The audit user to log the request

Body

application/json
name
string
required

Name of the card hierarchy

active
boolean
required

Whether the card hierarchy is active or not

Response

Card hierarchy successfully created

id
string<biginteger>
required

Generated id of the card hierarchy

name
string
required

Name of the card hierarchy

active
boolean
required

Whether the card hierarchy is active or not