Skip to content
Hoody.com

Use these endpoints to list, inspect, test, update, and disconnect storage backends connected to a container’s files service. All operations share the base URL https://{projectId}-{containerId}-files-1.{server}.containers.hoody.com.

Get list of all connected backends.

This endpoint takes no parameters.

Terminal window
curl -X GET "https://{projectId}-{containerId}-files-1.{server}.containers.hoody.com/api/v1/backends" \
-H "Authorization: Bearer <token>"

Get detailed information about a specific backend.

NameInTypeRequiredDescription
idpathstringYesBackend identifier (16-character hex string)
Terminal window
curl -X GET "https://{projectId}-{containerId}-files-1.{server}.containers.hoody.com/api/v1/backends/a1b2c3d4e5f67890" \
-H "Authorization: Bearer <token>"

Verify that a backend connection is working.

NameInTypeRequiredDescription
idpathstringYesid path parameter
Terminal window
curl -X GET "https://{projectId}-{containerId}-files-1.{server}.containers.hoody.com/api/v1/backends/a1b2c3d4e5f67890/test" \
-H "Authorization: Bearer <token>"

Rotate credentials (passwords, tokens, OAuth refresh tokens, S3 keys, passphrases) for an existing backend connection. Identity fields such as host, user, port, and type cannot be changed; disconnect and reconnect to change those.

NameInTypeRequiredDescription
idpathstringYesBackend ID (16-character hex string)

A JSON object containing the credential fields to rotate. Allowed keys: 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, private_key. Values must be strings or null (passing null deletes the field).

{
"secret_access_key": "new-secret-value",
"access_key_id": "AKIAIOSFODNN7EXAMPLE"
}
Terminal window
curl -X PUT "https://{projectId}-{containerId}-files-1.{server}.containers.hoody.com/api/v1/backends/a1b2c3d4e5f67890" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"secret_access_key": "new-secret-value",
"access_key_id": "AKIAIOSFODNN7EXAMPLE"
}'

Remove a backend connection.

NameInTypeRequiredDescription
idpathstringYesBackend identifier (16-character hex string)
Terminal window
curl -X DELETE "https://{projectId}-{containerId}-files-1.{server}.containers.hoody.com/api/v1/backends/a1b2c3d4e5f67890" \
-H "Authorization: Bearer <token>"