Dbaa S Postgres
Create a database role
Creates a new database role.
AuthorizationBearer <token>
Okta Bearer token
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/v1/giservices/dbaas_pg/database_roles" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "attributes": { "database_id": "string", "name": "string", "role_member": "ro" } }'{
"id": "string",
"name": "string",
"description": "string",
"service": "string",
"attributes": {
"database_id": "string",
"extra_roles_member": [
"pg_monitor"
],
"max_connections": 0,
"name": "string",
"password": "string",
"password_location": "string",
"role_member": "ro",
"role_parameters": {
"idle_in_transaction_session_timeout": "string",
"lock_timeout": "string",
"search_path": "string",
"statement_timeout": "string",
"work_mem": "string"
}
},
"platform": "string",
"region": "string",
"tenant": "string"
}Empty
Empty
Empty
Empty