{
  "openapi": "3.0.1",
  "info": {
    "title": "ApiManagementClient",
    "description": "Use these REST APIs for performing operations on who is going to receive notifications associated with your Azure API Management deployment.",
    "version": "2019-01-01"
  },
  "servers": [
    {
      "url": "https://management.azure.com/"
    }
  ],
  "security": [
    {
      "azure_auth": [
        "user_impersonation"
      ]
    }
  ],
  "paths": {
    "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications": {
      "get": {
        "tags": [
          "Notification"
        ],
        "description": "Lists a collection of properties defined within a service instance.",
        "operationId": "Notification_ListByService",
        "parameters": [
          {
            "name": "resourceGroupName",
            "in": "path",
            "description": "The name of the resource group.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "serviceName",
            "in": "path",
            "description": "The name of the API Management service.",
            "required": true,
            "schema": {
              "maxLength": 50,
              "minLength": 1,
              "pattern": "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$",
              "type": "string"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Number of records to return.",
            "schema": {
              "minimum": 1,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Number of records to skip.",
            "schema": {
              "minimum": 0,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "description": "Version of the API to be used with the client request.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A Collection of the Notification for the specified API Management service instance.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "nextLink": {
                      "type": "string",
                      "description": "Next page link if any."
                    },
                    "value": {
                      "type": "array",
                      "description": "Page values.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "properties": {
                            "required": [
                              "title"
                            ],
                            "type": "object",
                            "properties": {
                              "description": {
                                "type": "string",
                                "description": "Description of the Notification."
                              },
                              "recipients": {
                                "type": "object",
                                "properties": {
                                  "emails": {
                                    "type": "array",
                                    "description": "List of Emails subscribed for the notification.",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "users": {
                                    "type": "array",
                                    "description": "List of Users subscribed for the notification.",
                                    "items": {
                                      "type": "string"
                                    }
                                  }
                                },
                                "description": "Notification Parameter contract."
                              },
                              "title": {
                                "maxLength": 1000,
                                "minLength": 1,
                                "type": "string",
                                "description": "Title of the Notification."
                              }
                            },
                            "description": "Notification Contract properties."
                          }
                        },
                        "description": "Notification details."
                      }
                    }
                  },
                  "description": "Paged Notification list representation."
                }
              }
            }
          },
          "default": {
            "description": "Error response describing why the operation failed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string",
                          "description": "Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response."
                        },
                        "details": {
                          "type": "array",
                          "description": "The list of invalid fields send in request, in case of validation error.",
                          "items": {
                            "type": "object",
                            "properties": {
                              "code": {
                                "type": "string",
                                "description": "Property level error code."
                              },
                              "message": {
                                "type": "string",
                                "description": "Human-readable representation of property-level error."
                              },
                              "target": {
                                "type": "string",
                                "description": "Property name."
                              }
                            },
                            "description": "Error Field contract."
                          }
                        },
                        "message": {
                          "type": "string",
                          "description": "Human-readable representation of the error."
                        }
                      },
                      "description": "Error Body contract."
                    }
                  },
                  "description": "Error Response."
                }
              }
            }
          }
        }
      }
    },
    "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}": {
      "get": {
        "tags": [
          "Notification"
        ],
        "description": "Gets the details of the Notification specified by its identifier.",
        "operationId": "Notification_Get",
        "parameters": [
          {
            "name": "resourceGroupName",
            "in": "path",
            "description": "The name of the resource group.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "serviceName",
            "in": "path",
            "description": "The name of the API Management service.",
            "required": true,
            "schema": {
              "maxLength": 50,
              "minLength": 1,
              "pattern": "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$",
              "type": "string"
            }
          },
          {
            "name": "notificationName",
            "in": "path",
            "description": "Notification Name Identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "RequestPublisherNotificationMessage",
                "PurchasePublisherNotificationMessage",
                "NewApplicationNotificationMessage",
                "BCC",
                "NewIssuePublisherNotificationMessage",
                "AccountClosedPublisher",
                "QuotaLimitApproachingPublisherNotificationMessage"
              ]
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "description": "Version of the API to be used with the client request.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The response body contains the specified Notification.",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "properties": {
                      "required": [
                        "title"
                      ],
                      "type": "object",
                      "properties": {
                        "description": {
                          "type": "string",
                          "description": "Description of the Notification."
                        },
                        "recipients": {
                          "type": "object",
                          "properties": {
                            "emails": {
                              "type": "array",
                              "description": "List of Emails subscribed for the notification.",
                              "items": {
                                "type": "string"
                              }
                            },
                            "users": {
                              "type": "array",
                              "description": "List of Users subscribed for the notification.",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "description": "Notification Parameter contract."
                        },
                        "title": {
                          "maxLength": 1000,
                          "minLength": 1,
                          "type": "string",
                          "description": "Title of the Notification."
                        }
                      },
                      "description": "Notification Contract properties."
                    }
                  },
                  "description": "Notification details.",
                  "allOf": [
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "Resource ID.",
                          "readOnly": true
                        },
                        "name": {
                          "type": "string",
                          "description": "Resource name.",
                          "readOnly": true
                        },
                        "type": {
                          "type": "string",
                          "description": "Resource type for API Management resource.",
                          "readOnly": true
                        }
                      },
                      "description": "The Resource definition."
                    }
                  ]
                }
              }
            }
          },
          "default": {
            "description": "Error response describing why the operation failed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string",
                          "description": "Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response."
                        },
                        "details": {
                          "type": "array",
                          "description": "The list of invalid fields send in request, in case of validation error.",
                          "items": {
                            "type": "object",
                            "properties": {
                              "code": {
                                "type": "string",
                                "description": "Property level error code."
                              },
                              "message": {
                                "type": "string",
                                "description": "Human-readable representation of property-level error."
                              },
                              "target": {
                                "type": "string",
                                "description": "Property name."
                              }
                            },
                            "description": "Error Field contract."
                          }
                        },
                        "message": {
                          "type": "string",
                          "description": "Human-readable representation of the error."
                        }
                      },
                      "description": "Error Body contract."
                    }
                  },
                  "description": "Error Response."
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Notification"
        ],
        "description": "Create or Update API Management publisher notification.",
        "operationId": "Notification_CreateOrUpdate",
        "parameters": [
          {
            "name": "resourceGroupName",
            "in": "path",
            "description": "The name of the resource group.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "serviceName",
            "in": "path",
            "description": "The name of the API Management service.",
            "required": true,
            "schema": {
              "maxLength": 50,
              "minLength": 1,
              "pattern": "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$",
              "type": "string"
            }
          },
          {
            "name": "notificationName",
            "in": "path",
            "description": "Notification Name Identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "RequestPublisherNotificationMessage",
                "PurchasePublisherNotificationMessage",
                "NewApplicationNotificationMessage",
                "BCC",
                "NewIssuePublisherNotificationMessage",
                "AccountClosedPublisher",
                "QuotaLimitApproachingPublisherNotificationMessage"
              ]
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "description": "ETag of the Entity. Not required when creating an entity, but required when updating an entity.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "description": "Version of the API to be used with the client request.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Notification was successfully updated.",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "properties": {
                      "required": [
                        "title"
                      ],
                      "type": "object",
                      "properties": {
                        "description": {
                          "type": "string",
                          "description": "Description of the Notification."
                        },
                        "recipients": {
                          "type": "object",
                          "properties": {
                            "emails": {
                              "type": "array",
                              "description": "List of Emails subscribed for the notification.",
                              "items": {
                                "type": "string"
                              }
                            },
                            "users": {
                              "type": "array",
                              "description": "List of Users subscribed for the notification.",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "description": "Notification Parameter contract."
                        },
                        "title": {
                          "maxLength": 1000,
                          "minLength": 1,
                          "type": "string",
                          "description": "Title of the Notification."
                        }
                      },
                      "description": "Notification Contract properties."
                    }
                  },
                  "description": "Notification details.",
                  "allOf": [
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "Resource ID.",
                          "readOnly": true
                        },
                        "name": {
                          "type": "string",
                          "description": "Resource name.",
                          "readOnly": true
                        },
                        "type": {
                          "type": "string",
                          "description": "Resource type for API Management resource.",
                          "readOnly": true
                        }
                      },
                      "description": "The Resource definition."
                    }
                  ]
                }
              }
            }
          },
          "default": {
            "description": "Error response describing why the operation failed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string",
                          "description": "Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response."
                        },
                        "details": {
                          "type": "array",
                          "description": "The list of invalid fields send in request, in case of validation error.",
                          "items": {
                            "type": "object",
                            "properties": {
                              "code": {
                                "type": "string",
                                "description": "Property level error code."
                              },
                              "message": {
                                "type": "string",
                                "description": "Human-readable representation of property-level error."
                              },
                              "target": {
                                "type": "string",
                                "description": "Property name."
                              }
                            },
                            "description": "Error Field contract."
                          }
                        },
                        "message": {
                          "type": "string",
                          "description": "Human-readable representation of the error."
                        }
                      },
                      "description": "Error Body contract."
                    }
                  },
                  "description": "Error Response."
                }
              }
            }
          }
        }
      }
    },
    "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientEmails": {
      "get": {
        "tags": [
          "NotificationRecipientEmail"
        ],
        "description": "Gets the list of the Notification Recipient Emails subscribed to a notification.",
        "operationId": "NotificationRecipientEmail_ListByNotification",
        "parameters": [
          {
            "name": "resourceGroupName",
            "in": "path",
            "description": "The name of the resource group.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "serviceName",
            "in": "path",
            "description": "The name of the API Management service.",
            "required": true,
            "schema": {
              "maxLength": 50,
              "minLength": 1,
              "pattern": "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$",
              "type": "string"
            }
          },
          {
            "name": "notificationName",
            "in": "path",
            "description": "Notification Name Identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "RequestPublisherNotificationMessage",
                "PurchasePublisherNotificationMessage",
                "NewApplicationNotificationMessage",
                "BCC",
                "NewIssuePublisherNotificationMessage",
                "AccountClosedPublisher",
                "QuotaLimitApproachingPublisherNotificationMessage"
              ]
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "description": "Version of the API to be used with the client request.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The response body contains the Recipient Email collection subscribed to the notification.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "nextLink": {
                      "type": "string",
                      "description": "Next page link if any."
                    },
                    "value": {
                      "type": "array",
                      "description": "Page values.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "properties": {
                            "type": "object",
                            "properties": {
                              "email": {
                                "type": "string",
                                "description": "User Email subscribed to notification."
                              }
                            },
                            "description": "Recipient Email Contract Properties."
                          }
                        },
                        "description": "Recipient Email details."
                      }
                    }
                  },
                  "description": "Paged Recipient User list representation."
                }
              }
            }
          },
          "default": {
            "description": "Error response describing why the operation failed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string",
                          "description": "Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response."
                        },
                        "details": {
                          "type": "array",
                          "description": "The list of invalid fields send in request, in case of validation error.",
                          "items": {
                            "type": "object",
                            "properties": {
                              "code": {
                                "type": "string",
                                "description": "Property level error code."
                              },
                              "message": {
                                "type": "string",
                                "description": "Human-readable representation of property-level error."
                              },
                              "target": {
                                "type": "string",
                                "description": "Property name."
                              }
                            },
                            "description": "Error Field contract."
                          }
                        },
                        "message": {
                          "type": "string",
                          "description": "Human-readable representation of the error."
                        }
                      },
                      "description": "Error Body contract."
                    }
                  },
                  "description": "Error Response."
                }
              }
            }
          }
        }
      }
    },
    "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientEmails/{email}": {
      "put": {
        "tags": [
          "NotificationRecipientEmail"
        ],
        "description": "Adds the Email address to the list of Recipients for the Notification.",
        "operationId": "NotificationRecipientEmail_CreateOrUpdate",
        "parameters": [
          {
            "name": "resourceGroupName",
            "in": "path",
            "description": "The name of the resource group.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "serviceName",
            "in": "path",
            "description": "The name of the API Management service.",
            "required": true,
            "schema": {
              "maxLength": 50,
              "minLength": 1,
              "pattern": "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$",
              "type": "string"
            }
          },
          {
            "name": "notificationName",
            "in": "path",
            "description": "Notification Name Identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "RequestPublisherNotificationMessage",
                "PurchasePublisherNotificationMessage",
                "NewApplicationNotificationMessage",
                "BCC",
                "NewIssuePublisherNotificationMessage",
                "AccountClosedPublisher",
                "QuotaLimitApproachingPublisherNotificationMessage"
              ]
            }
          },
          {
            "name": "email",
            "in": "path",
            "description": "Email identifier.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "description": "Version of the API to be used with the client request.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Recipient Email is already part of the notification list.",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "properties": {
                      "type": "object",
                      "properties": {
                        "email": {
                          "type": "string",
                          "description": "User Email subscribed to notification."
                        }
                      },
                      "description": "Recipient Email Contract Properties."
                    }
                  },
                  "description": "Recipient Email details.",
                  "allOf": [
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "Resource ID.",
                          "readOnly": true
                        },
                        "name": {
                          "type": "string",
                          "description": "Resource name.",
                          "readOnly": true
                        },
                        "type": {
                          "type": "string",
                          "description": "Resource type for API Management resource.",
                          "readOnly": true
                        }
                      },
                      "description": "The Resource definition."
                    }
                  ]
                }
              }
            }
          },
          "201": {
            "description": "Recipient Email was successfully added to the notification list.",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "properties": {
                      "type": "object",
                      "properties": {
                        "email": {
                          "type": "string",
                          "description": "User Email subscribed to notification."
                        }
                      },
                      "description": "Recipient Email Contract Properties."
                    }
                  },
                  "description": "Recipient Email details.",
                  "allOf": [
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "Resource ID.",
                          "readOnly": true
                        },
                        "name": {
                          "type": "string",
                          "description": "Resource name.",
                          "readOnly": true
                        },
                        "type": {
                          "type": "string",
                          "description": "Resource type for API Management resource.",
                          "readOnly": true
                        }
                      },
                      "description": "The Resource definition."
                    }
                  ]
                }
              }
            }
          },
          "default": {
            "description": "Error response describing why the operation failed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string",
                          "description": "Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response."
                        },
                        "details": {
                          "type": "array",
                          "description": "The list of invalid fields send in request, in case of validation error.",
                          "items": {
                            "type": "object",
                            "properties": {
                              "code": {
                                "type": "string",
                                "description": "Property level error code."
                              },
                              "message": {
                                "type": "string",
                                "description": "Human-readable representation of property-level error."
                              },
                              "target": {
                                "type": "string",
                                "description": "Property name."
                              }
                            },
                            "description": "Error Field contract."
                          }
                        },
                        "message": {
                          "type": "string",
                          "description": "Human-readable representation of the error."
                        }
                      },
                      "description": "Error Body contract."
                    }
                  },
                  "description": "Error Response."
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "NotificationRecipientEmail"
        ],
        "description": "Removes the email from the list of Notification.",
        "operationId": "NotificationRecipientEmail_Delete",
        "parameters": [
          {
            "name": "resourceGroupName",
            "in": "path",
            "description": "The name of the resource group.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "serviceName",
            "in": "path",
            "description": "The name of the API Management service.",
            "required": true,
            "schema": {
              "maxLength": 50,
              "minLength": 1,
              "pattern": "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$",
              "type": "string"
            }
          },
          {
            "name": "notificationName",
            "in": "path",
            "description": "Notification Name Identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "RequestPublisherNotificationMessage",
                "PurchasePublisherNotificationMessage",
                "NewApplicationNotificationMessage",
                "BCC",
                "NewIssuePublisherNotificationMessage",
                "AccountClosedPublisher",
                "QuotaLimitApproachingPublisherNotificationMessage"
              ]
            }
          },
          {
            "name": "email",
            "in": "path",
            "description": "Email identifier.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "description": "Version of the API to be used with the client request.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Recipient Email was successfully removed to the notification list."
          },
          "204": {
            "description": "Recipient Email was successfully removed to the notification list."
          },
          "default": {
            "description": "Error response describing why the operation failed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string",
                          "description": "Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response."
                        },
                        "details": {
                          "type": "array",
                          "description": "The list of invalid fields send in request, in case of validation error.",
                          "items": {
                            "type": "object",
                            "properties": {
                              "code": {
                                "type": "string",
                                "description": "Property level error code."
                              },
                              "message": {
                                "type": "string",
                                "description": "Human-readable representation of property-level error."
                              },
                              "target": {
                                "type": "string",
                                "description": "Property name."
                              }
                            },
                            "description": "Error Field contract."
                          }
                        },
                        "message": {
                          "type": "string",
                          "description": "Human-readable representation of the error."
                        }
                      },
                      "description": "Error Body contract."
                    }
                  },
                  "description": "Error Response."
                }
              }
            }
          }
        }
      },
      "head": {
        "tags": [
          "NotificationRecipientEmail"
        ],
        "description": "Determine if Notification Recipient Email subscribed to the notification.",
        "operationId": "NotificationRecipientEmail_CheckEntityExists",
        "parameters": [
          {
            "name": "resourceGroupName",
            "in": "path",
            "description": "The name of the resource group.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "serviceName",
            "in": "path",
            "description": "The name of the API Management service.",
            "required": true,
            "schema": {
              "maxLength": 50,
              "minLength": 1,
              "pattern": "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$",
              "type": "string"
            }
          },
          {
            "name": "notificationName",
            "in": "path",
            "description": "Notification Name Identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "RequestPublisherNotificationMessage",
                "PurchasePublisherNotificationMessage",
                "NewApplicationNotificationMessage",
                "BCC",
                "NewIssuePublisherNotificationMessage",
                "AccountClosedPublisher",
                "QuotaLimitApproachingPublisherNotificationMessage"
              ]
            }
          },
          {
            "name": "email",
            "in": "path",
            "description": "Email identifier.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "description": "Version of the API to be used with the client request.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The Users is subscribed to receive the notification."
          },
          "404": {
            "description": "The Users is not subscribed to receive the notification."
          },
          "default": {
            "description": "Error response describing why the operation failed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string",
                          "description": "Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response."
                        },
                        "details": {
                          "type": "array",
                          "description": "The list of invalid fields send in request, in case of validation error.",
                          "items": {
                            "type": "object",
                            "properties": {
                              "code": {
                                "type": "string",
                                "description": "Property level error code."
                              },
                              "message": {
                                "type": "string",
                                "description": "Human-readable representation of property-level error."
                              },
                              "target": {
                                "type": "string",
                                "description": "Property name."
                              }
                            },
                            "description": "Error Field contract."
                          }
                        },
                        "message": {
                          "type": "string",
                          "description": "Human-readable representation of the error."
                        }
                      },
                      "description": "Error Body contract."
                    }
                  },
                  "description": "Error Response."
                }
              }
            }
          }
        }
      }
    },
    "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientUsers": {
      "get": {
        "tags": [
          "NotificationRecipientUser"
        ],
        "description": "Gets the list of the Notification Recipient User subscribed to the notification.",
        "operationId": "NotificationRecipientUser_ListByNotification",
        "parameters": [
          {
            "name": "resourceGroupName",
            "in": "path",
            "description": "The name of the resource group.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "serviceName",
            "in": "path",
            "description": "The name of the API Management service.",
            "required": true,
            "schema": {
              "maxLength": 50,
              "minLength": 1,
              "pattern": "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$",
              "type": "string"
            }
          },
          {
            "name": "notificationName",
            "in": "path",
            "description": "Notification Name Identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "RequestPublisherNotificationMessage",
                "PurchasePublisherNotificationMessage",
                "NewApplicationNotificationMessage",
                "BCC",
                "NewIssuePublisherNotificationMessage",
                "AccountClosedPublisher",
                "QuotaLimitApproachingPublisherNotificationMessage"
              ]
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "description": "Version of the API to be used with the client request.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The response body contains the Recipient User collection for the notification.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "nextLink": {
                      "type": "string",
                      "description": "Next page link if any."
                    },
                    "value": {
                      "type": "array",
                      "description": "Page values.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "properties": {
                            "type": "object",
                            "properties": {
                              "userId": {
                                "type": "string",
                                "description": "API Management UserId subscribed to notification."
                              }
                            },
                            "description": "Recipient User Contract Properties."
                          }
                        },
                        "description": "Recipient User details."
                      }
                    }
                  },
                  "description": "Paged Recipient User list representation."
                }
              }
            }
          },
          "default": {
            "description": "Error response describing why the operation failed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string",
                          "description": "Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response."
                        },
                        "details": {
                          "type": "array",
                          "description": "The list of invalid fields send in request, in case of validation error.",
                          "items": {
                            "type": "object",
                            "properties": {
                              "code": {
                                "type": "string",
                                "description": "Property level error code."
                              },
                              "message": {
                                "type": "string",
                                "description": "Human-readable representation of property-level error."
                              },
                              "target": {
                                "type": "string",
                                "description": "Property name."
                              }
                            },
                            "description": "Error Field contract."
                          }
                        },
                        "message": {
                          "type": "string",
                          "description": "Human-readable representation of the error."
                        }
                      },
                      "description": "Error Body contract."
                    }
                  },
                  "description": "Error Response."
                }
              }
            }
          }
        }
      }
    },
    "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientUsers/{userId}": {
      "put": {
        "tags": [
          "NotificationRecipientUser"
        ],
        "description": "Adds the API Management User to the list of Recipients for the Notification.",
        "operationId": "NotificationRecipientUser_CreateOrUpdate",
        "parameters": [
          {
            "name": "resourceGroupName",
            "in": "path",
            "description": "The name of the resource group.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "serviceName",
            "in": "path",
            "description": "The name of the API Management service.",
            "required": true,
            "schema": {
              "maxLength": 50,
              "minLength": 1,
              "pattern": "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$",
              "type": "string"
            }
          },
          {
            "name": "notificationName",
            "in": "path",
            "description": "Notification Name Identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "RequestPublisherNotificationMessage",
                "PurchasePublisherNotificationMessage",
                "NewApplicationNotificationMessage",
                "BCC",
                "NewIssuePublisherNotificationMessage",
                "AccountClosedPublisher",
                "QuotaLimitApproachingPublisherNotificationMessage"
              ]
            }
          },
          {
            "name": "userId",
            "in": "path",
            "description": "User identifier. Must be unique in the current API Management service instance.",
            "required": true,
            "schema": {
              "maxLength": 80,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "description": "Version of the API to be used with the client request.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Recipient User is already part of the notification list.",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "properties": {
                      "type": "object",
                      "properties": {
                        "userId": {
                          "type": "string",
                          "description": "API Management UserId subscribed to notification."
                        }
                      },
                      "description": "Recipient User Contract Properties."
                    }
                  },
                  "description": "Recipient User details.",
                  "allOf": [
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "Resource ID.",
                          "readOnly": true
                        },
                        "name": {
                          "type": "string",
                          "description": "Resource name.",
                          "readOnly": true
                        },
                        "type": {
                          "type": "string",
                          "description": "Resource type for API Management resource.",
                          "readOnly": true
                        }
                      },
                      "description": "The Resource definition."
                    }
                  ]
                }
              }
            }
          },
          "201": {
            "description": "Recipient User was successfully added to the notification list.",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "properties": {
                      "type": "object",
                      "properties": {
                        "userId": {
                          "type": "string",
                          "description": "API Management UserId subscribed to notification."
                        }
                      },
                      "description": "Recipient User Contract Properties."
                    }
                  },
                  "description": "Recipient User details.",
                  "allOf": [
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "Resource ID.",
                          "readOnly": true
                        },
                        "name": {
                          "type": "string",
                          "description": "Resource name.",
                          "readOnly": true
                        },
                        "type": {
                          "type": "string",
                          "description": "Resource type for API Management resource.",
                          "readOnly": true
                        }
                      },
                      "description": "The Resource definition."
                    }
                  ]
                }
              }
            }
          },
          "default": {
            "description": "Error response describing why the operation failed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string",
                          "description": "Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response."
                        },
                        "details": {
                          "type": "array",
                          "description": "The list of invalid fields send in request, in case of validation error.",
                          "items": {
                            "type": "object",
                            "properties": {
                              "code": {
                                "type": "string",
                                "description": "Property level error code."
                              },
                              "message": {
                                "type": "string",
                                "description": "Human-readable representation of property-level error."
                              },
                              "target": {
                                "type": "string",
                                "description": "Property name."
                              }
                            },
                            "description": "Error Field contract."
                          }
                        },
                        "message": {
                          "type": "string",
                          "description": "Human-readable representation of the error."
                        }
                      },
                      "description": "Error Body contract."
                    }
                  },
                  "description": "Error Response."
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "NotificationRecipientUser"
        ],
        "description": "Removes the API Management user from the list of Notification.",
        "operationId": "NotificationRecipientUser_Delete",
        "parameters": [
          {
            "name": "resourceGroupName",
            "in": "path",
            "description": "The name of the resource group.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "serviceName",
            "in": "path",
            "description": "The name of the API Management service.",
            "required": true,
            "schema": {
              "maxLength": 50,
              "minLength": 1,
              "pattern": "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$",
              "type": "string"
            }
          },
          {
            "name": "notificationName",
            "in": "path",
            "description": "Notification Name Identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "RequestPublisherNotificationMessage",
                "PurchasePublisherNotificationMessage",
                "NewApplicationNotificationMessage",
                "BCC",
                "NewIssuePublisherNotificationMessage",
                "AccountClosedPublisher",
                "QuotaLimitApproachingPublisherNotificationMessage"
              ]
            }
          },
          {
            "name": "userId",
            "in": "path",
            "description": "User identifier. Must be unique in the current API Management service instance.",
            "required": true,
            "schema": {
              "maxLength": 80,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "description": "Version of the API to be used with the client request.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Recipient User was successfully removed from the notification list."
          },
          "204": {
            "description": "Recipient User was successfully removed from the notification list."
          },
          "default": {
            "description": "Error response describing why the operation failed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string",
                          "description": "Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response."
                        },
                        "details": {
                          "type": "array",
                          "description": "The list of invalid fields send in request, in case of validation error.",
                          "items": {
                            "type": "object",
                            "properties": {
                              "code": {
                                "type": "string",
                                "description": "Property level error code."
                              },
                              "message": {
                                "type": "string",
                                "description": "Human-readable representation of property-level error."
                              },
                              "target": {
                                "type": "string",
                                "description": "Property name."
                              }
                            },
                            "description": "Error Field contract."
                          }
                        },
                        "message": {
                          "type": "string",
                          "description": "Human-readable representation of the error."
                        }
                      },
                      "description": "Error Body contract."
                    }
                  },
                  "description": "Error Response."
                }
              }
            }
          }
        }
      },
      "head": {
        "tags": [
          "NotificationRecipientUser"
        ],
        "description": "Determine if the Notification Recipient User is subscribed to the notification.",
        "operationId": "NotificationRecipientUser_CheckEntityExists",
        "parameters": [
          {
            "name": "resourceGroupName",
            "in": "path",
            "description": "The name of the resource group.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "serviceName",
            "in": "path",
            "description": "The name of the API Management service.",
            "required": true,
            "schema": {
              "maxLength": 50,
              "minLength": 1,
              "pattern": "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$",
              "type": "string"
            }
          },
          {
            "name": "notificationName",
            "in": "path",
            "description": "Notification Name Identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "RequestPublisherNotificationMessage",
                "PurchasePublisherNotificationMessage",
                "NewApplicationNotificationMessage",
                "BCC",
                "NewIssuePublisherNotificationMessage",
                "AccountClosedPublisher",
                "QuotaLimitApproachingPublisherNotificationMessage"
              ]
            }
          },
          {
            "name": "userId",
            "in": "path",
            "description": "User identifier. Must be unique in the current API Management service instance.",
            "required": true,
            "schema": {
              "maxLength": 80,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "query",
            "description": "Version of the API to be used with the client request.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The User is subscribed to receive the notification."
          },
          "404": {
            "description": "Entity does not exists."
          },
          "default": {
            "description": "Error response describing why the operation failed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string",
                          "description": "Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response."
                        },
                        "details": {
                          "type": "array",
                          "description": "The list of invalid fields send in request, in case of validation error.",
                          "items": {
                            "type": "object",
                            "properties": {
                              "code": {
                                "type": "string",
                                "description": "Property level error code."
                              },
                              "message": {
                                "type": "string",
                                "description": "Human-readable representation of property-level error."
                              },
                              "target": {
                                "type": "string",
                                "description": "Property name."
                              }
                            },
                            "description": "Error Field contract."
                          }
                        },
                        "message": {
                          "type": "string",
                          "description": "Human-readable representation of the error."
                        }
                      },
                      "description": "Error Body contract."
                    }
                  },
                  "description": "Error Response."
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "azure_auth": {
        "type": "oauth2",
        "description": "Azure Active Directory OAuth2 Flow."
      }
    }
  }
}