Skip to main content
Version: latest

Updates the specified azure account

PUT 

https://api.spectrocloud.com/v1/cloudaccounts/azure/:uid

Updates the specified azure account

Request

Responses

The resource was updated successfully

Authorization: ApiKey

name: ApiKeytype: apiKeydescription: API key authorization where API key can be generated from Palette console under Profile > My API Keysin: header
curl -L -X PUT 'https://api.spectrocloud.com/v1/cloudaccounts/azure/:uid' \
-H 'Content-Type: application/json' \
-H 'ApiKey: <ApiKey>' \
-d '{
"apiVersion": "string",
"kind": "string",
"metadata": {
"annotations": {},
"creationTimestamp": "2024-07-29T15:51:28.071Z",
"deletionTimestamp": "2024-07-29T15:51:28.071Z",
"labels": {},
"lastModifiedTimestamp": "2024-07-29T15:51:28.071Z",
"name": "string",
"uid": "string"
},
"spec": {
"azureEnvironment": "AzurePublicCloud",
"clientId": "string",
"clientSecret": "string",
"settings": {
"disablePropertiesRequest": true
},
"tenantId": "string",
"tenantName": "string"
},
"status": {
"state": "string",
"tokenExpiry": "2024-07-29T15:51:28.071Z",
"tokenGenerationTime": "2024-07-29T15:51:28.071Z"
}
}'
Request Collapse all
Base URL
https://api.spectrocloud.com
Auth
Parameters
— pathrequired
— header
Body
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"annotations": {},
"creationTimestamp": "2024-07-29T15:51:28.071Z",
"deletionTimestamp": "2024-07-29T15:51:28.071Z",
"labels": {},
"lastModifiedTimestamp": "2024-07-29T15:51:28.071Z",
"name": "string",
"uid": "string"
},
"spec": {
"azureEnvironment": "AzurePublicCloud",
"clientId": "string",
"clientSecret": "string",
"settings": {
"disablePropertiesRequest": true
},
"tenantId": "string",
"tenantName": "string"
},
"status": {
"state": "string",
"tokenExpiry": "2024-07-29T15:51:28.071Z",
"tokenGenerationTime": "2024-07-29T15:51:28.071Z"
}
}