GraphQL - not able to resolve enterpriseID

Hello Everyone,

I am trying to use GraphQL to create an Organization under the Enterprise I am in but having trouble entering the correct enterpriseID.

This is the message I am getting.
“message”: “Could not resolve to a node with the global id of ‘b3JnYW5pemF0aW9uLW5hbWU=’”

I looked through the documentations and saw that the ID scalar needs to be base64 obfuscated. So I encoded my Enterprise name with base64 and used it as my enterpriseID. I’m not sure if this is the part I am doing wrong, or if it’s the GraphQL that I’m doing wrong.

This is how I’m sending the API.

Method: POST
URL: https://api.github.com/graphql
Data:

mutation {
  createEnterpriseOrganization(input:{adminLogins:"dmkimadmin",billingEmail:"dmkimadmin@gmail.com",enterpriseId:"b3JnYW5pemF0aW9uLW5hbWU=",login:"new-org-name",profileName:"Testing Create Org"}) {
      enterprise  {
          name
      }
      organization {
          login
      }
  }   
}

And this is the entire response.

{
    "data": {
        "createEnterpriseOrganization": null
    },
    "errors": [
        {
            "type": "NOT_FOUND",
            "path": [
                "createEnterpriseOrganization"
            ],
            "locations": [
                {
                    "line": 3,
                    "column": 3
                }
            ],
            "message": "Could not resolve to a node with the global id of 'b3JnYW5pemF0aW9uLW5hbWU='"
        }
    ]
}

Thank you in advance!