Skip to main content
PATCH
/
v1
/
card-hierarchies
/
{cardHierarchyId}
/
groups
/
{groupId}
Update Card Hierarchy Group
curl --request PATCH \
  --url 'https://integration-api-cat2.{{environment}}.ext.{{realm}}.cia.enfuce.com/hierarchy/v1/card-hierarchies/{cardHierarchyId}/groups/{groupId}' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "parentId": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "type": "ROOT",
  "parentId": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

cardHierarchyId
string<biginteger>
required

Card hierarchy id

groupId
string<biginteger>
required

Group id

Query Parameters

auditUser
string
required

The audit user to log the request

Body

application/json
name
string

Name of the group

parentId
string<biginteger>

Id of the parent group

Response

Successful update of the card hierarchy group

id
string<biginteger>
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<biginteger>

Id of the parent group