You can call this operation to obtain the verification key used to run the agent installation command.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | SasInstallCode |
The operation that you want to perform. Set the value to SasInstallCode. |
SourceIp | String | No | 1.2.3.4 |
The source IP address of the request. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | B256A525-7E42-4BB9-A27C-9017FDDFF1A2 |
The ID of the request. |
data | String | eDkhGP |
The verification key used to run the installation command when you manually install the Security Center agent on your assets. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=SasInstallCode
&<Common request parameters>
Sample success responses
XML
fomat
<SasInstallCodeResponse>
<requestId>B256A525-7E42-4BB9-A27C-9017FDDFF1A2</requestId>
<data>eDkhGP</data>
</SasInstallCodeResponse>
JSON
format
{
"requestId": "B256A525-7E42-4BB9-A27C-9017FDDFF1A2",
"data":"eDkhGP"
}
Error code
For a list of error codes, visit the API Error Center.