輪換會中斷仍使用舊秘密的用戶端。先準備安全分發和回滾方案,再執行寫入操作。
介面概覽
從憑證列表取得
credential_id:
type=Token 時讀取新的 token;type=Identity 時讀取新的 password。將完整回應視為秘密處理並立即更新呼叫端。
錯誤處理
401:Account Token 無效。403:無權管理該憑證。404:Credential ID 不存在。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Platform 整合指南 - Ace Data Cloud
輪換會中斷仍使用舊秘密的用戶端。先準備安全分發和回滾方案,再執行寫入操作。
| 項 | 內容 |
|---|---|
| 方法 | POST |
| URL | https://platform.acedata.cloud/api/v1/credentials/{credential_id}/rotate/ |
| 鑑權 | Account Token |
| Body | 無或 {} |
credential_id:
export PLATFORM_TOKEN='你的帳戶權杖'
export CREDENTIAL_ID='要輪換的 Credential ID'
curl -X POST \
"https://platform.acedata.cloud/api/v1/credentials/${CREDENTIAL_ID}/rotate/" \
-H "Authorization: Bearer ${PLATFORM_TOKEN}"
type=Token 時讀取新的 token;type=Identity 時讀取新的 password。將完整回應視為秘密處理並立即更新呼叫端。
401:Account Token 無效。403:無權管理該憑證。404:Credential ID 不存在。