Global InfraGlobal Infra Cloud
Dbaa S M S S Q L

Create a database user

Creates a new database user.

POST
/api/v1/giservices/dbaas_mssql/database_users

Authorization

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_mssql/database_users" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "attributes": {      "databases": [        "string"      ],      "db_roles": [        "db_datareader"      ],      "db_user": "string"    }  }'
{
  "id": "string",
  "name": "string",
  "description": "string",
  "service": "string",
  "attributes": {
    "create_date": "string",
    "database_roles": "string",
    "databases": [
      "string"
    ],
    "db_roles": [
      "db_datareader"
    ],
    "db_user": "string",
    "instance": "string",
    "is_disabled": "string",
    "password_location": "string",
    "server_roles": "string",
    "sid": "string"
  },
  "platform": "string",
  "region": "string",
  "tenant": "string"
}
Empty
Empty
Empty
Empty