Global InfraGlobal Infra Cloud
Dbaa S Postgres

Update a database hba entry

Updates an existing database hba entry.

PUT
/api/v1/giservices/dbaas_pg/database_hba_entries/{id}

Authorization

AuthorizationBearer <token>

Okta Bearer token

In: header

Path Parameters

id*string

Asset unique identifier

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://example.com/api/v1/giservices/dbaas_pg/database_hba_entries/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "string",
  "name": "string",
  "description": "string",
  "service": "string",
  "attributes": {
    "auth_method": "cert",
    "auth_options": "string",
    "connection_type": "host",
    "database_id": "string",
    "rule_id": "string",
    "rule_name": "string",
    "source_addresses": [
      "string"
    ],
    "users": "string"
  },
  "platform": "string",
  "region": "string",
  "tenant": "string"
}
Empty
Empty
Empty
Empty