Prisma · Schema

ApiKeyCreate

Request body for creating a new API key

Properties

Name Type Description
name string Display name for the new API key
View JSON Schema on GitHub

JSON Schema

prisma-apikeycreate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ApiKeyCreate",
  "title": "ApiKeyCreate",
  "type": "object",
  "description": "Request body for creating a new API key",
  "properties": {
    "name": {
      "type": "string",
      "description": "Display name for the new API key",
      "examples": [
        "Production API Key"
      ]
    }
  },
  "required": [
    "name"
  ]
}