Register volume
POST
Register a storage bucket as an organization Volume.
bearerAuthheader
AuthorizationBearer <token>application/json- body
credential*||||||||||A complete replacement credential, including every required secret. OIDC credentials contain no stored secret.
name*stringregion?string|nulluri*stringSuccess
application/json- response
organization*type*unknowncurl -X POST 'https://api.spiraldb.dev/api/storage/volumes' \ -H 'Content-Type: application/json' \ -d '{ "credential": { "awsAccessKey": { "accessKeyId": "string", "secretAccessKey": "string" }, "type": "awsAccessKey" }, "name": "string", "uri": "string"}'{ "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"}