Updates the specified azure account
PUThttps://api.spectrocloud.com/v1/cloudaccounts/azure/:uid
Updates the specified azure account
Request
Responses
- 204
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
- python
- go
- nodejs
- java
- CURL
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"
}
}'