For the complete documentation index, see llms.txt. This page is also available as Markdown.

updateOrgUnitHierarchy

Examples

mutation UpdateOrgUnitHierarchy($orgUnitHierarchyInput: OrgUnitHierarchyInput!) {
  updateOrgUnitHierarchy(orgUnitHierarchyInput: $orgUnitHierarchyInput) {
    name
    tagIds
    tags {
      tagId
      name
      displayName
      tagType
      createdBy
      createdAt
      updatedAt
      tagCategory
      deploymentModel
      purpose
      email
    }
    appOwnersEmail
    id
    parent
    ancestors {
      id
      name
    }
    children {
      name
      tagIds
      tags {
        tagId
        name
        displayName
        tagType
        createdBy
        createdAt
        updatedAt
        tagCategory
        deploymentModel
        purpose
        email
      }
      appOwnersEmail
      id
      parent
      ancestors {
        id
        name
      }
      children {
        name
        tagIds
        tags {
          tagId
          name
          displayName
          tagType
          createdBy
          createdAt
          updatedAt
          tagCategory
          deploymentModel
          purpose
          email
        }
        appOwnersEmail
        id
        parent
        ancestors {
          id
          name
        }
      }
    }
  }
}

Variables

This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.

Arguments

You can use the following argument(s) to customize your updateOrgUnitHierarchy mutation.

Argument
Description
Supported fields

orgUnitHierarchyInput OrgUnitHierarchyInput! required

orgUnitHierarchy [OrgUnitHierarchyItemInput!]! owners [String!] tagIds [String!]

Fields

Return type: [OrgUnitHierarchyItem!]

You can use the following field(s) to specify what information your updateOrgUnitHierarchy mutation will return. Please note that some fields may have their own subfields.

Field
Description
Supported fields

name String!

tagIds [String!]!

Tags and app owners assigned to the organizational unit, resolved with their tag type. App owners are represented as tags with the owner tag type.

tagId String! name String! displayName String! tagType OxTagType! createdBy String! createdAt DateTime updatedAt DateTime tagCategory String deploymentModel String purpose String email String

appOwnersEmail [String!]

id String

parent String

Identifier of the current organizational unit, preserved for backward compatibility.

ancestors [OrgUnitRef!]!

Chain of ancestor organizational units ordered from the root down to the immediate parent. Empty when the unit is a root.

id String! name String!

name String! tagIds [String!]! tags [TagObject!]! appOwnersEmail [String!] id String parent String ancestors [OrgUnitRef!]! children [OrgUnitHierarchyItem!]!

Last updated