AhaSend · JSON Structure

Openapi V2 Update Api Key Request Structure

UpdateAPIKeyRequest schema from AhaSend API

Type: object Properties: 2
EmailTransactional EmailDeveloper ToolsSMTPWebhooks

UpdateAPIKeyRequest is a JSON Structure definition published by AhaSend, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

label scopes

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ahasend/refs/heads/main/json-structure/openapi-v2-update-api-key-request-structure.json",
  "name": "UpdateAPIKeyRequest",
  "description": "UpdateAPIKeyRequest schema from AhaSend API",
  "type": "object",
  "properties": {
    "label": {
      "type": "string",
      "maxLength": 255,
      "description": "Human-readable label for the API key",
      "example": "example_value"
    },
    "scopes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "minItems": 1,
      "description": "Array of scope strings to grant to this API key",
      "example": [
        "example_value"
      ]
    }
  },
  "example": {
    "label": "Updated API Key",
    "scopes": [
      "messages:send:example.com",
      "domains:read"
    ]
  }
}