ServicesStorageHTTP APIVolumes

Update volume status

PUT
/api/storage/volumes/{volume_id}/status

Retire, revoke or reactivate an organization Volume.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Path Parameters

volume_id*string

Request Body

application/json
  1. body
status*storage.VolumeStatus
Value in"active""retired""revoked"

Response Body

Success

application/json
  1. response
organization*
type*unknown
curl -X PUT 'https://api.spiraldb.dev/api/storage/volumes/string/status' \  -H 'Content-Type: application/json' \  -d '{  "status": "active"}'
{  "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"}