Sybase · Schema

LoginCreateRequest

Request body for creating a new server login.

DatabaseEnterpriseSAPSQL

Properties

Name Type Description
name string The login name to create.
password string The password for the new login.
defaultDatabase string The default database to assign.
roles array List of server roles to assign.
View JSON Schema on GitHub

JSON Schema

sybase-logincreaterequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LoginCreateRequest",
  "title": "LoginCreateRequest",
  "type": "object",
  "description": "Request body for creating a new server login.",
  "required": [
    "name",
    "password"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "The login name to create.",
      "maxLength": 30
    },
    "password": {
      "type": "string",
      "description": "The password for the new login.",
      "format": "password"
    },
    "defaultDatabase": {
      "type": "string",
      "description": "The default database to assign."
    },
    "roles": {
      "type": "array",
      "description": "List of server roles to assign.",
      "items": {
        "type": "string"
      }
    }
  }
}