ServicesStorageHTTP APIProject storage

Select project storage

PUT
/api/storage/projects/{project_id}/storage

Select the storage used for new resources in a project.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Path Parameters

project_id*string

Request Body

application/json
  1. body
fileSystem*
type*unknown

Response Body

Success

application/json
  1. response
fileSystem*
type*unknown
curl -X PUT 'https://api.spiraldb.dev/api/storage/projects/string/storage' \  -H 'Content-Type: application/json' \  -d '{  "fileSystem": {},  "type": "fileSystem"}'
{  "fileSystem": {},  "type": "fileSystem"}