Update an object storage mount
Update an existing object storage mount on a running sandbox. Changing `bucket`, `mount_path`, or `read_only` causes the mount to be remounted. Setting `prefix`, `access_key_id`, or `secret_access_key` to an empty string clears that value.
Update an existing object storage mount on a running sandbox. Changing
bucket, mount_path, or read_only causes the mount to be remounted.
Setting prefix, access_key_id, or secret_access_key to an empty string
clears that value.
Authorization
BearerAuth API key passed as a Bearer token in the Authorization header.
Alternatively, use the leap0-authorization header.
In: header
Path Parameters
Unique sandbox identifier.
Unique mount identifier.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Bucket name in the S3-compatible object storage provider.
Absolute sandbox path where the bucket contents will appear.
Full S3-compatible endpoint URL.
uriOptional object prefix to expose as the visible mount root. Use an empty string to clear it.
Whether the mount should be attached read-only inside the sandbox.
Access key id for the S3 bucket. Use an empty string to clear it.
Secret access key for the S3 bucket. Use an empty string to clear it.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://api.leap0.dev/v1/sandbox/string/mounts/string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "mnt-abc123", "type": "object-storage", "bucket": "string", "mount_path": "string", "prefix": "string", "read_only": true}{ "message": "string", "errors": [ { "field": "string", "error": "string" } ]}{ "message": "string"}{ "message": "string"}{ "message": "string"}
