Palbase Workspaces API · API
PUT
/workspaces/{id}/storageUpdate or rotate BYOS storage configuration
Validates, probes, and seals updated BYOS S3 credentials or endpoint settings for an existing BYOS workspace.
Called by your server, with the project's secret key.
Path
idstring · requiredRequest body
kind"managed" | "byos" · optionalendpointstring · optionalregionstring · optionalbucketstring · optionalprefixstring · optionalaccess_key_idstring · optionalsecret_access_keystring · optionalforce_path_styleboolean · optionalpresign_endpointstring · optionalcurl
curl -X PUT "https://<your-ref>.palbase.studio/workspaces/<id>/storage" \
-H "apikey: $PALBASE_SECRET_KEY" \
-H "content-type: application/json" \
-d '{"kind":"managed","endpoint":"string","region":"string","bucket":"string","prefix":"string","access_key_id":"string","secret_access_key":"string","force_path_style":false,"presign_endpoint":"string"}'Responses
200Updated workspace.
defaultAn error envelope.
Operation UpdateWorkspaceStorage of workspaces's contract.