Skip to content
TestLookupTestLookup
Search Ctrl K

Search TestLookup

Enter a term to search the local static index.

    ApiKeyCreate

    Fields

    5 fields
    expires_days
    integer or null
    name · required
    string
    project_id
    string (uuid) or null

    Bind key to a single project (ADMIN only)

    scopes
    array of string
    target_user_id
    string (uuid) or null

    Create key for another user (ADMIN only)

    Raw schema (JSON)
    {
      "properties": {
        "expires_days": {
          "anyOf": [
            {
              "maximum": 365,
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Expires Days"
        },
        "name": {
          "maxLength": 100,
          "minLength": 2,
          "title": "Name",
          "type": "string"
        },
        "project_id": {
          "anyOf": [
            {
              "format": "uuid",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "Bind key to a single project (ADMIN only)",
          "title": "Project Id"
        },
        "scopes": {
          "items": {
            "type": "string"
          },
          "title": "Scopes",
          "type": "array"
        },
        "target_user_id": {
          "anyOf": [
            {
              "format": "uuid",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "Create key for another user (ADMIN only)",
          "title": "Target User Id"
        }
      },
      "required": [
        "name"
      ],
      "title": "ApiKeyCreate",
      "type": "object"
    }

    One endpoint sends or returns this schema, on its own or inside another schema.

    No other schema contains this one.