Skip to content

The Backend Management API lets you list, inspect, test, rotate credentials on, and disconnect storage backends registered with the Hoody Files system. Use these endpoints to audit connections, verify reachability, rotate passwords and tokens without a full reconnect, and tear down backends you no longer need.

Returns all backends currently registered with the system, including their connection state and active mount paths.

This endpoint takes no parameters.

Terminal window
curl -X GET https://api.hoody.com/api/v1/backends \
-H "Authorization: Bearer <token>"

Returns detailed information about a single backend, including the last-used timestamp when available.

NameInTypeRequiredDescription
idpathstringYesBackend ID (16-character hex string)
Terminal window
curl -X GET https://api.hoody.com/api/v1/backends/a1b2c3d4e5f67890 \
-H "Authorization: Bearer <token>"

Verifies that a backend connection is still working by probing the remote.

NameInTypeRequiredDescription
idpathstringYesBackend ID (16-character hex string)
Terminal window
curl -X GET https://api.hoody.com/api/v1/backends/a1b2c3d4e5f67890/test \
-H "Authorization: Bearer <token>"

Rotates credentials on an existing backend. Use this to update passwords, OAuth tokens, S3 keys, passphrases, and similar secrets without tearing down the connection.

NameInTypeRequiredDescription
idpathstringYesBackend ID (16-character hex string)

The body is a JSON object containing the credential fields to update. Values must be strings, or null to delete a field. Common 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. No-op rotations (sending the same value already stored) succeed without contacting the remote.

{
"pass": "new-strong-password"
}
Terminal window
curl -X PUT https://api.hoody.com/api/v1/backends/a1b2c3d4e5f67890 \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"pass": "new-strong-password"
}'

Removes a backend connection from the registry. After this call, the backend will no longer appear in listBackends and its stored credentials are deleted.

NameInTypeRequiredDescription
idpathstringYesBackend ID (16-character hex string)
Terminal window
curl -X DELETE https://api.hoody.com/api/v1/backends/a1b2c3d4e5f67890 \
-H "Authorization: Bearer <token>"