ServicesOrganizationsHTTP APISettings

Write_config

PUT
/api/organizations/config

Set the active Organization storage default with Organization configure permission. Plaintext storage keys are vaulted before persistence.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Request Body

application/json
  1. body

Organization storage policy. Only Organization owners may read or write the full configuration.

defaultFilesystem*||

Storage for newly created Projects. Changing this default does not move existing Projects.

Response Body

Success

application/json
  1. response

Organization storage policy. Only Organization owners may read or write the full configuration.

defaultFilesystem*||

Storage for newly created Projects. Changing this default does not move existing Projects.

curl -X PUT 'https://api.spiraldb.dev/api/organizations/config' \  -H 'Content-Type: application/json' \  -d '{  "defaultFilesystem": {    "disabled": {},    "type": "disabled"  }}'
{  "defaultFilesystem": {    "disabled": {},    "type": "disabled"  }}