Updates the specified Tencent account
PUThttps://api.spectrocloud.com/v1/cloudaccounts/tencent/:uid
Updates the specified Tencent account
Request
Path Parameters
uid stringrequired
Tencent cloud account uid
- application/json
Body
apiVersionstring
Cloud account api version
kindstring
Cloud account kind
metadata
object
spec
object
status
object
Responses
- 204
The resource was updated successfully
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X PUT 'https://api.spectrocloud.com/v1/cloudaccounts/tencent/:uid' \
-H 'Content-Type: application/json' \
--data-raw '{
"apiVersion": "string",
"kind": "string",
"metadata": {
"annotations": {},
"creationTimestamp": "2024-07-02T20:32:01.602Z",
"deletionTimestamp": "2024-07-02T20:32:01.602Z",
"labels": {},
"lastModifiedTimestamp": "2024-07-02T20:32:01.602Z",
"name": "string",
"namespace": "string",
"resourceVersion": "string",
"selfLink": "string",
"uid": "string"
},
"spec": {
"secretId": "string",
"secretKey": "string"
},
"status": {
"state": "string"
}
}'