Skip to main content
PUT
https://your-rootprint-host
/
api
/
settings
/
auth
/
google
/
allowed-domains
Set allowed Google auth domains
curl --request PUT \
  --url https://your-rootprint-host/api/settings/auth/google/allowed-domains \
  --header 'Content-Type: application/json' \
  --cookie better-auth.session_token= \
  --data '
{
  "allowedDomains": [
    "<string>"
  ]
}
'
{
  "error": {
    "code": "<string>",
    "message": "<string>",
    "statusCode": 123,
    "requestId": "<string>",
    "details": [
      {
        "path": "<string>",
        "message": "<string>"
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.rootprint.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

better-auth.session_token
string
cookie
required

Better Auth session cookie used by the Rootprint web UI.

Body

application/json
allowedDomains
string[]
required
Minimum array length: 1
Pattern: ^[a-z0-9.-]+\.[a-z]{2,}$

Response

Allowed domains saved.