palbaseDocs

Palbase Workspaces API · API

PUT/workspaces/{id}/storage

Update 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 · required

Request body

kind"managed" | "byos" · optional
endpointstring · optional
regionstring · optional
bucketstring · optional
prefixstring · optional
access_key_idstring · optional
secret_access_keystring · optional
force_path_styleboolean · optional
presign_endpointstring · optional
curl
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.