PATCH request with the parent hierarchy levels and the details of the hierarchy to be updated.{
"hierarchy": {
"prog_id": 164951,
"hierarchy_level": "WOMAN1"
}
}{
"message": "hierarchy_level with {hierarchy_level} already exists"
}hierarchy_type does not exist, the API returns an HTTP 422 error:{
"message": "hierarchy_type with {hierarchy_type} not found"
}{
"message": "parent_hierarchy_type with {parent_hierarchy_type} not found"
}