PayPal · Schema

templates.delete-403

BillingCommerceDisputesInvoicesOrdersPaymentsPayoutsSubscriptionsTokensWebhooks

Properties

Name Type Description
details array
View JSON Schema on GitHub

JSON Schema

paypal-templatesdelete-403-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/templates.delete-403",
  "title": "templates.delete-403",
  "properties": {
    "details": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "title": "PERMISSION_DENIED",
            "properties": {
              "issue": {
                "type": "string",
                "enum": [
                  "PERMISSION_DENIED"
                ]
              },
              "description": {
                "type": "string",
                "enum": [
                  "The requested template is not associated with the requested user."
                ]
              }
            }
          },
          {
            "title": "CANNOT_DELETE_GLOBAL_TEMPLATE",
            "properties": {
              "issue": {
                "type": "string",
                "enum": [
                  "CANNOT_DELETE_GLOBAL_TEMPLATE"
                ]
              },
              "description": {
                "type": "string",
                "enum": [
                  "Global templates cannot be deleted."
                ]
              }
            }
          }
        ]
      }
    }
  }
}