Skip to content

The Backend Management API lets you list, inspect, test, update credentials, and disconnect storage backends connected to your workspace. Use these endpoints to audit existing connections, verify connectivity, rotate credentials without reconfiguring identity, or remove unused backends.

Retrieve every backend currently connected to the workspace, including its type, 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 YOUR_TOKEN"

Fetch detailed information about a specific backend, including its connection state and most recent usage timestamp.

NameInTypeRequiredDescription
idpathstringYesUnique backend identifier (16-character hex string)
Terminal window
curl -X GET "https://api.hoody.com/api/v1/backends/a1b2c3d4e5f67890" \
-H "Authorization: Bearer YOUR_TOKEN"

Verify that a backend is reachable and its credentials are still valid.

NameInTypeRequiredDescription
idpathstringYesUnique backend identifier (16-character hex string)
Terminal window
curl -X GET "https://api.hoody.com/api/v1/backends/a1b2c3d4e5f67890/test" \
-H "Authorization: Bearer YOUR_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 through this endpoint — disconnect and reconnect to change those. The backend must have no active or in-progress mounts; unmount first.

No-op rotations (sending the same value that is already stored) succeed without contacting the remote.

NameInTypeRequiredDescription
idpathstringYesBackend ID (16-character hex string)

The request body is an object whose keys identify which credential to rotate. Values must be strings or null; sending null deletes the stored credential.

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, private_key.

Terminal window
curl -X PUT "https://api.hoody.com/api/v1/backends/a1b2c3d4e5f67890" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"password": "new-ssh-password-9k2x",
"passphrase": "new-key-passphrase"
}'

Permanently remove a backend connection. Any files previously mounted from this backend will become inaccessible until the backend is reconnected.

NameInTypeRequiredDescription
idpathstringYesUnique backend identifier (16-character hex string)
Terminal window
curl -X DELETE "https://api.hoody.com/api/v1/backends/a1b2c3d4e5f67890" \
-H "Authorization: Bearer YOUR_TOKEN"