Error
A valid request URL is required to generate request examples{
"tenant_id": "q3Vt8LmN2xKp7RcW1yZs4A",
"api_key": "pZ8bQ1xY7mK3vN6tR2wL9cF4hJ0sD5gA8eU1iO3yT7k"
}Tenant
Create the first tenant
Creates the first tenant and returns its API key. pgw stores only a
SHA-256 hash of the key, so this response is the only place that
shows the key. The request works once for each database, and needs the
server’s PGW_BOOTSTRAP_TOKEN in Authorization: Bootstrap <token>.
POST
/
bootstrap
Error
A valid request URL is required to generate request examples{
"tenant_id": "q3Vt8LmN2xKp7RcW1yZs4A",
"api_key": "pZ8bQ1xY7mK3vN6tR2wL9cF4hJ0sD5gA8eU1iO3yT7k"
}Authorizations
Body
application/json
Optional. Without a body, the tenant is named default.