Microsoft Azure Suppression Lists API

The SuppressionLists API from Microsoft Azure, for suppressionlists.

GitHub OpenAPI

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists List suppression lists on an email domain · Microsoft Azure List #
Ask an LLM
“Which email suppression lists are set up on my Communication Services domain?”
“Can I see every suppression list attached to one sending domain?”
Tell an agent
List the suppression lists on email domain {domainName}.
Show all suppression lists configured for {domainName} under email service {emailServiceName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName} Get a suppression list · Microsoft Azure Get #
Ask an LLM
“How do I look up the settings of one suppression list on my email domain?”
“What sender username does a particular suppression list apply to?”
Tell an agent
Get suppression list {suppressionListName} on domain {domainName}.
Show the configuration of the {suppressionListName} suppression list in email service {emailServiceName}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName} Create or update a suppression list · Microsoft Azure Create Or Update #
Ask an LLM
“How do I create a suppression list so certain recipients stop receiving my emails?”
“Can I change the properties of an existing suppression list on a domain?”
Tell an agent
Create suppression list {suppressionListName} on domain {domainName} of email service {emailServiceName}.
Update suppression list {suppressionListName} on {domainName} with {properties}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName} Delete a suppression list · Microsoft Azure Delete #
Ask an LLM
“How do I delete an entire suppression list from my email domain?”
“Can I drop a suppression list I no longer use?”
Tell an agent destructive · confirm first
Delete suppression list {suppressionListName} from domain {domainName}.
Remove the whole {suppressionListName} list from email service {emailServiceName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}/suppressionListAddresses List addresses in a suppression list · Microsoft Azure Get #
Ask an LLM
“Which email addresses are currently on my suppression list?”
“Can I see everyone who is blocked from receiving mail via a given suppression list?”
Tell an agent
List the addresses in suppression list {suppressionListName} on {domainName}.
Show every suppressed recipient in {suppressionListName} for email service {emailServiceName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}/suppressionListAddresses/{addressId} Get one suppressed email address · Microsoft Azure Get #
Ask an LLM
“How do I check the details of a single address on a suppression list?”
“When was a particular recipient added to my suppression list, and why?”
Tell an agent
Get address {addressId} from suppression list {suppressionListName} on {domainName}.
Show suppressed address entry {addressId} in email service {emailServiceName}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}/suppressionListAddresses/{addressId} Add or update an address on a suppression list · Microsoft Azure Create Or Update #
Ask an LLM
“How do I block a specific recipient by adding them to a suppression list?”
“Can I edit the notes on an address that's already suppressed?”
Tell an agent
Add address {addressId} to suppression list {suppressionListName} on {domainName} with {properties}.
Update suppressed address {addressId} in {suppressionListName} of email service {emailServiceName}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}/suppressionListAddresses/{addressId} Remove an address from a suppression list · Microsoft Azure Delete #
Ask an LLM
“How do I unsuppress one recipient so they can receive my emails again?”
“Can I take a single address off a suppression list without touching the rest?”
Tell an agent destructive · confirm first
Remove address {addressId} from suppression list {suppressionListName} on {domainName}.
Unsuppress entry {addressId} in email service {emailServiceName}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-suppressionlists-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-suppressionlists-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Azure Communication Services Management…
  version: 2023-06-01-preview
  description: REST API for Email Services/Domains/SuppressionLists
servers:
- url: https://management.azure.com
tags:
- name: SuppressionLists
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists
  : get:
      description: List all suppression lists for a domains resource.
      operationId: microsoftAzureSuppressionlistsListbydomain
      summary: Microsoft Azure List
      tags:
      - SuppressionLists
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - $ref: EmailServices.json#/parameters/EmailServiceName
      - $ref: '#/components/parameters/DomainName'
      responses:
        '200':
          description: Success. The response describe the Domains SuppressionList resource collection.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuppressionListResourceCollection'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        Get all SuppressionLists resources.:
          $ref: ./examples/suppressionLists/getSuppressionLists.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}
  : get:
      description: Get a SuppressionList resource.
      operationId: microsoftAzureSuppressionlistsGet
      summary: Microsoft Azure Get
      tags:
      - SuppressionLists
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - $ref: EmailServices.json#/parameters/EmailServiceName
      - $ref: '#/components/parameters/DomainName'
      - $ref: '#/components/parameters/SuppressionListName'
      responses:
        '200':
          description: Success. The response describes the corresponding SuppressionList resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuppressionListResource'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        Get a SuppressionList resource.:
          $ref: ./examples/suppressionLists/getSuppressionList.json
    put:
      description: Add a new SuppressionList resource under the parent Domains resource or update an existing SuppressionList resource.
      operationId: microsoftAzureSuppressionlistsCreateorupdate
      summary: Microsoft Azure Create Or Update
      tags:
      - SuppressionLists
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - $ref: EmailServices.json#/parameters/EmailServiceName
      - $ref: '#/components/parameters/DomainName'
      - $ref: '#/components/parameters/SuppressionListName'
      responses:
        '200':
          description: The resource was updated successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuppressionListResource'
        '201':
          description: The resource was created successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuppressionListResource'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        CreateOrUpdate SuppressionLists resource.:
          $ref: ./examples/suppressionLists/createOrUpdateSuppressionList.json
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SuppressionListResource'
        description: Parameters for the create or update operation
        required: true
    delete:
      description: Delete a SuppressionList.
      operationId: microsoftAzureSuppressionlistsDelete
      summary: Microsoft Azure Delete
      tags:
      - SuppressionLists
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - $ref: EmailServices.json#/parameters/EmailServiceName
      - $ref: '#/components/parameters/DomainName'
      - $ref: '#/components/parameters/SuppressionListName'
      responses:
        '200':
          description: The resource was deleted successfully.
        '204':
          description: The resource did not exist to be deleted.
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        Delete a SuppressionLists resource.:
          $ref: ./examples/suppressionLists/deleteSuppressionList.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}/suppressionListAddresses
  : get:
      description: Get all the addresses in a suppression list.
      operationId: microsoftAzureSuppressionlistaddressesList
      summary: Microsoft Azure Get
      tags:
      - SuppressionLists
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - $ref: EmailServices.json#/parameters/EmailServiceName
      - $ref: '#/components/parameters/DomainName'
      - $ref: '#/components/parameters/SuppressionListName'
      responses:
        '200':
          description: Success. The collection of SuppressionListAddresses for a SuppressionList.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuppressionListAddressResourceCollection'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        Get all SuppressionListAddresses resources for a SuppressionList resource.:
          $ref: ./examples/suppressionLists/getAddresses.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}/suppressionListAddresses/{addressId}
  : get:
      description: Get a SuppressionListAddress.
      operationId: microsoftAzureSuppressionlistaddressesGet
      summary: Microsoft Azure Get
      tags:
      - SuppressionLists
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - $ref: EmailServices.json#/parameters/EmailServiceName
      - $ref: '#/components/parameters/DomainName'
      - $ref: '#/components/parameters/SuppressionListName'
      - $ref: '#/components/parameters/SuppressionListAddressId'
      responses:
        '200':
          description: Success. The suppression list address object.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuppressionListAddressResource'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        Get a SuppressionListAddress resource.:
          $ref: ./examples/suppressionLists/getAddress.json
    put:
      description: Create or update a SuppressionListAddress.
      operationId: microsoftAzureSuppressionlistaddressesCreateorupdate
      summary: Microsoft Azure Create Or Update
      tags:
      - SuppressionLists
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - $ref: EmailServices.json#/parameters/EmailServiceName
      - $ref: '#/components/parameters/DomainName'
      - $ref: '#/components/parameters/SuppressionListName'
      - $ref: '#/components/parameters/SuppressionListAddressId'
      responses:
        '200':
          description: The resource was updated successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuppressionListAddressResource'
        '201':
          description: The resource was created successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuppressionListAddressResource'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        CreateOrUpdate SuppressionListAddress resource:
          $ref: ./examples/suppressionLists/createOrUpdateAddress.json
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SuppressionListAddressResource'
        description: Parameters for the create or update operation
        required: true
    delete:
      description: Operation to delete a single address from a suppression list.
      operationId: microsoftAzureSuppressionlistaddressesDelete
      summary: Microsoft Azure Delete
      tags:
      - SuppressionLists
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - $ref: EmailServices.json#/parameters/EmailServiceName
      - $ref: '#/components/parameters/DomainName'
      - $ref: '#/components/parameters/SuppressionListName'
      - $ref: '#/components/parameters/SuppressionListAddressId'
      responses:
        '200':
          description: The resource was deleted successfully.
        '204':
          description: The resource did not exist to be deleted.
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        Delete a SuppressionListAddress resource.:
          $ref: ./examples/suppressionLists/deleteAddress.json
components:
  schemas:
    SuppressionListAddressResource:
      description: A object that represents a SuppressionList record.
      type: object
      allOf:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource
      properties:
        properties:
          $ref: '#/components/schemas/SuppressionListAddressProperties'
          description: The properties of a SuppressionListAddress resource.
          x-ms-client-flatten: true
    SuppressionListProperties:
      description: A class that describes the properties of a SuppressionList resource.
      type: object
      properties:
        listName:
          description: The the name of the suppression list. This value must match one of the valid sender usernames of the sending domain.
          type: string
        lastUpdatedTimeStamp:
          description: The date the resource was last updated.
          type: string
          readOnly: true
        createdTimeStamp:
          description: The date the resource was created.
          type: string
          readOnly: true
        dataLocation:
          description: The location where the SuppressionListAddress data is stored at rest. This value is inherited from the parent Domains resource.
          type: string
          readOnly: true
    SuppressionListAddressProperties:
      description: A class that describes the properties of a SuppressionListAddress resource.
      type: object
      required:
      - email
      properties:
        email:
          description: Email address of the recipient.
          type: string
        firstName:
          description: The first name of the email recipient.
          type: string
        lastName:
          description: The last name of the email recipient.
          type: string
        notes:
          description: An optional property to provide contextual notes or a description for an address.
          type: string
        lastModified:
          description: The date the address was last updated in a suppression list.
          type: string
          format: date-time
          readOnly: true
        dataLocation:
          description: The location where the SuppressionListAddress data is stored at rest. This value is inherited from the parent Domains resource.
          type: string
          readOnly: true
    SuppressionListResource:
      description: A class representing a SuppressionList resource.
      type: object
      allOf:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource
      properties:
        properties:
          $ref: '#/components/schemas/SuppressionListProperties'
          description: The properties of a SuppressionList resource.
          x-ms-client-flatten: true
    SuppressionListResourceCollection:
      description: A class representing a Domains SuppressionListResource collection.
      type: object
      properties:
        value:
          description: List of SuppressionListResource
          type: array
          items:
            $ref: '#/components/schemas/SuppressionListResource'
        nextLink:
          description: The URL the client should use to fetch the next page (per server side paging).
          type: string
    SuppressionListAddressResourceCollection:
      description: Collection of addresses in a suppression list. Response will include a nextLink if response contains more pages.
      type: object
      properties:
        value:
          description: List of suppressed email addresses.
          type: array
          items:
            $ref: '#/components/schemas/SuppressionListAddressResource'
        nextLink:
          description: The URL the client should use to fetch the next page (per server side paging).
          type: string
  parameters:
    DomainName:
      name: domainName
      in: path
      description: The name of the Domains resource.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 253
        minLength: 1
        pattern: .*
    SuppressionListAddressId:
      name: addressId
      in: path
      description: The id of the address in a suppression list.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 253
        minLength: 1
        pattern: ^[a-zA-Z0-9-]+$
    SuppressionListName:
      name: suppressionListName
      in: path
      description: The name of the suppression list.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 253
        minLength: 1
        pattern: ^[a-zA-Z0-9-]+$
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow