palbaseDocs

Palbase Auth API · API

PUT/admin/integrations/{name}

Connect an integration

Connects a service with the project's own credentials, replacing any it had. The credentials are stored sealed and never returned.

Called by your server, with the project's secret key.

Path

name"fingerprint" | "hibp" | "maxmind" · requiredThe service: fingerprint, hibp or maxmind.

Request body

account_idstring · optional
api_keystring · optional
license_keystring · optional
region"us" | "eu" | "ap" · optional
requests_per_minuteinteger · optional
curl
curl -X PUT "https://<your-ref>.palbase.studio/admin/integrations/<name>" \
  -H "apikey: $PALBASE_SECRET_KEY" \
  -H "content-type: application/json" \
  -d '{"account_id":"string","api_key":"string","license_key":"string","region":"us","requests_per_minute":1}'

Responses

204Connected

400Validation failed or required field missing

401Missing, invalid, or expired credentials

403Not permitted with this key; or the project is the platform's own (`owner_only`): every change on its admin surface — any account's address, password, factors, sessions or roles, an account made or imported, a sign-in minted, a setting — is its owner's or its operator's alone. The request carries, besides the project's key, the owner's access token (X-Palbase-Owner; a passkey sign-in of the last 15 minutes, else 401 `insufficient_user_authentication`) or the operator's token (X-Palbase-Operator). Its key reads.

404Resource does not exist or is not visible to the caller

503Downstream dependency unavailable (typically HIBP / breach service)

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation AdminPutIntegration of auth's contract.