Attach server storage

Storage must be active and in the same environment. Duplicate attachment conflicts. S3 Files remains subject to availability/prerequisites.

Requires every scope: servers:write, storage:write.

Authentication

AuthorizationBearer

JWT returned by POST /api/auth/token-exchange. Amazon and authorization invitations require API-key-derived tokens.

Path parameters

idintegerRequired

Storage/server/environment resource ID as applicable.

Request

This endpoint expects an object.
storageResourceIdintegerRequired>=1
mountPathstringOptional1-255 charactersDefaults to /data

Response

Success
attachmentobject

Storage attachment; list responses may include additional resource details.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
500
Internal Server Error
503
Service Unavailable Error