Skip to main content
Question

Unable to decoupled register a client via API via API call

  • October 8, 2025
  • 2 replies
  • 32 views

rolansaad
Byte
Forum|alt.badge.img+2

Hi,

Struggling to find a suitable API endpoint and payload to register the client after installing the file system agent via decoupled installation. Meaning agent successfuly installed from the client and I only need to perform decoupled registration using API call. Below is my code snippet i tried but unlucky.

TOKEN =”this_is_a_dumy_token_to_illustrate"

url = "https://dkcdctestcs1.vestas.net/commandcenter/api/InstallClient"

headers = {

  'Content-Type': 'application/json',

  'Accept': 'application/json',

  'Authtoken': TOKEN

}

payload = json.dumps(

{
    "rebootClient": false,
    "createPseudoClientRequest": {
        "registerClient": true,
        "clientInfo": {
            "clientType": 0,
            "plan": {
                "planId": 1
            },
            "subclientInfo": {
                "fsSubClientProp": {
                    "useGlobalFilters": "USE_CELL_LEVEL_POLICY",
                    "backupSystemState": true
                },
                "useLocalContent": true,
                "contentOperationType": 1,
                "content": [
                    {
                        "path": "\\"
                    }
                ]
            }
        }
    },
    "packages": [
        {
            "packageId": 702,
            "packageName": "File System"
        }
    ],
    "entities": [
        {
            "clientId": 30,
            "clientName": "my_server_name",
            "hostName": "my_server_name.domain.net"
        }
    ]
}

)

 

response = requests.request("POST", url, headers=headers, data=payload, verify=False)

2 replies

CV_GK
Vaulter
Forum|alt.badge.img+7
  • Vaulter
  • October 9, 2025

Hi ​@rolansaad 

What’s the CV version on CS and client?


rolansaad
Byte
Forum|alt.badge.img+2
  • Author
  • October 9, 2025

Hi ​@CV_GK ,

I am using 11.36.52 on both CV and client/