Update volume credential
PUT
Replace the credential for the same Volume storage bucket.
bearerAuthheader
AuthorizationBearer <token>volume_id*stringapplication/json- body
credential*||||||||||A complete replacement credential, including every required secret. OIDC credentials contain no stored secret.
Success
application/json- response
organization*type*unknowncurl -X PUT 'https://api.spiraldb.dev/api/storage/volumes/string/credential' \ -H 'Content-Type: application/json' \ -d '{ "credential": { "awsAccessKey": { "accessKeyId": "string", "secretAccessKey": "string" }, "type": "awsAccessKey" }}'{ "organization": { "details": { "credential": { "awsAccessKey": { "accessKeyId": "string", "region": "string" }, "type": "awsAccessKey" }, "identity": { "audience": "string", "issuer": "string", "subject": "string", "trustPolicy": "string" }, "region": "string", "status": "active", "uri": "string" }, "id": "string", "name": "string", "orgId": "string" }, "type": "organization"}