Skip to content
Hoody.com

Backend Management

The backend management endpoints let you list, inspect, test, rotate credentials for, and disconnect storage backends connected to your container. A backend represents a remote storage provider — such as SSH, S3, Mega, or Google Drive — that is mounted into the container’s filesystem. Use these endpoints to audit existing connections, verify connectivity before relying on a mount, and rotate secrets without rebuilding the connection from scratch.

Get a list of all connected backends.

This endpoint takes no parameters.

Terminal window
curl -X GET "https://proj_abc123-cnt_xyz789-files-1.us-east-1.containers.hoody.icu/api/v1/backends"

Get detailed information about a specific backend, including its connection status, type, mount paths, and last-used timestamp.

NameInTypeRequiredDescription
idpathstringYesBackend ID (16-character hex string)
Terminal window
curl -X GET "https://proj_abc123-cnt_xyz789-files-1.us-east-1.containers.hoody.icu/api/v1/backends/a1b2c3d4e5f67890"

Verify that a backend connection is working without performing any I/O against the remote.

NameInTypeRequiredDescription
idpathstringYesid path parameter
Terminal window
curl -X GET "https://proj_abc123-cnt_xyz789-files-1.us-east-1.containers.hoody.icu/api/v1/backends/a1b2c3d4e5f67890/test"

Rotate credentials (passwords, tokens, OAuth refresh tokens, S3 keys, passphrases, and similar secrets) for an existing backend connection. Identity fields such as host, user, port, and type cannot be changed through this endpoint — disconnect and reconnect to modify those. The backend must have no active or in-progress mounts; unmount first. No-op rotations where the supplied values match the stored values succeed without contacting the remote.

NameInTypeRequiredDescription
idpathstringYesBackend ID (16-character hex string)

The request body is a free-form credential object. Allowed keys include: pass, password, key, passphrase, token, refresh_token, auth_token, bearer_token, session_token, secret, secret_key, secret_access_key, access_key_id, client_secret, client_id, service_account_credentials, and private_key. Values must be strings, or null to delete the field. Submit only the credential fields you want to change; omitted fields are preserved.

{
"password": "new-strong-password-7Yk2pQ",
"access_key_id": "AKIAIOSFODNN7EXAMPLE",
"secret_access_key": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
}
Terminal window
curl -X PUT "https://proj_abc123-cnt_xyz789-files-1.us-east-1.containers.hoody.icu/api/v1/backends/a1b2c3d4e5f67890" \
-H "Content-Type: application/json" \
-d '{
"password": "new-strong-password-7Yk2pQ"
}'

Remove a backend connection and tear down any associated client state. To change identity fields such as host, user, port, or type, disconnect first and then reconnect.

NameInTypeRequiredDescription
idpathstringYesBackend ID (16-character hex string)
Terminal window
curl -X DELETE "https://proj_abc123-cnt_xyz789-files-1.us-east-1.containers.hoody.icu/api/v1/backends/a1b2c3d4e5f67890"