Microsoft Azure Contact Assignment API

The ContactAssignment API from Microsoft Azure, for contactassignment.

GitHub OpenAPI
Business capability
Data Governance Management BC-610.10

Operations 5

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 /contactAssignments/{contactAssignmentId} Get a contact assignment · Microsoft Azure Get Contactassignments Contactassignmentid #
Ask an LLM
“Who is assigned as a contact through a particular contact assignment?”
“Can I look up one contact assignment by its ID?”
Tell an agent
Get contact assignment {assignment}.
Show the principal and contact group for assignment {assignment}.
PUT /contactAssignments/{contactAssignmentId} Create or update a contact assignment · Microsoft Azure Put Contactassignments Contactassignmentid #
Ask an LLM
“How do I assign a person as a contact at a given scope?”
“Can I change which contact group an existing assignment belongs to?”
Tell an agent
Assign principal {principal} to contact group {contact_group} via assignment {assignment}.
Set the scope of contact assignment {assignment} to {scope}.
DELETE /contactAssignments/{contactAssignmentId} Delete a contact assignment · Microsoft Azure Delete Contactassignments Contactassignmentid #
Ask an LLM
“Can I remove a contact assignment that's no longer valid?”
“How do I unassign someone as a contact?”
Tell an agent destructive · confirm first
Delete contact assignment {assignment}.
Remove the contact assignment {assignment} from the account.
GET /contactAssignments List contact assignments in the account · Microsoft Azure Get Contactassignments #
Ask an LLM
“Which contact assignments exist in my account?”
“Can I filter contact assignments by scope or contact group definition?”
Tell an agent
List all contact assignments in the account.
List contact assignments for scope {scope} in contact group definition {definition}.
GET /getScopedContactGroupNames List contact group names for a scope · Microsoft Azure Get Getscopedcontactgroupnames #
Ask an LLM
“What contact group names are used within a given scope?”
“Can I get the distinct contact group names by reference type?”
Tell an agent
Get the distinct contact group names for scope {scope}.
List contact group names used at scope {scope} for reference type {reference_type}.

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-contactassignment-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-contactassignment-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure DataPlaneAccountClient Contact Assignment…
  description: Creates a Microsoft.Purview data plane account client.
  version: 2023-10-01-preview
servers:
- url: https://purview.azure.com/account/
tags:
- name: ContactAssignment
paths:
  /contactAssignments/{contactAssignmentId}:
    get:
      tags:
      - ContactAssignment
      description: Get a contactAssignment
      operationId: microsoftAzureContactassignmentsGetcontactassignment
      parameters:
      - in: path
        name: contactAssignmentId
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContactAssignment'
        default:
          description: An error response received from the provider.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
      x-ms-examples:
        ContactAssignments_GetContactAssignment:
          $ref: ./examples/ContactAssignments_GetContactAssignment.json
      summary: Microsoft Azure Get Contactassignments Contactassignmentid
    put:
      tags:
      - ContactAssignment
      description: Creates or updates a contactAssignment entity.
      operationId: microsoftAzureContactassignmentsCreateorupdatecontactassignment
      parameters:
      - in: path
        name: contactAssignmentId
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContactAssignment'
        default:
          description: An error response received from the provider.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
      x-ms-examples:
        ContactAssignments_CreateOrUpdateContactAssignment:
          $ref: ./examples/ContactAssignments_CreateOrUpdateContactAssignment.json
      summary: Microsoft Azure Put Contactassignments Contactassignmentid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ContactAssignment'
        required: true
    delete:
      tags:
      - ContactAssignment
      description: Deletes a ContactAssignment entity.
      operationId: microsoftAzureContactassignmentsDeletecontactassignment
      parameters:
      - in: path
        name: contactAssignmentId
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '204':
          description: No Content
        default:
          description: An error response received from the provider.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
      x-ms-examples:
        ContactAssignments_DeleteContactAssignment:
          $ref: ./examples/ContactAssignments_DeleteContactAssignment.json
      summary: Microsoft Azure Delete Contactassignments Contactassignmentid
  /contactAssignments:
    get:
      tags:
      - ContactAssignment
      description: List the contactAssignments in the account.
      operationId: microsoftAzureContactassignmentsListcontactassignments
      parameters:
      - in: query
        name: scope
        schema:
          type: string
      - in: query
        name: contactGroupDefinition
        schema:
          type: string
      - in: query
        name: referenceType
        x-ms-enum:
          name: EntityReferenceType
          modelAsString: true
        schema:
          type: string
          enum:
          - Unknown
          - CollectionReference
          - ContactGroupDefinitionReference
          - DatasourceReference
          - ScanReference
          - AdaptiveScopeReference
      - $ref: '#/components/parameters/api-version'
      - in: query
        name: $skipToken
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContactAssignmentList'
        default:
          description: An error response received from the provider.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        ContactAssignments_ListContactAssignments:
          $ref: ./examples/ContactAssignments_ListContactAssignments.json
      summary: Microsoft Azure Get Contactassignments
  /getScopedContactGroupNames:
    get:
      tags:
      - ContactAssignment
      description: Gets the distinct list of contact group names for the provided scope.
      operationId: microsoftAzureContactassignmentsListscopedcontactgroupnames
      parameters:
      - in: query
        name: scope
        schema:
          type: string
      - in: query
        name: referenceType
        x-ms-enum:
          name: EntityReferenceType
          modelAsString: true
        schema:
          type: string
          enum:
          - Unknown
          - CollectionReference
          - ContactGroupDefinitionReference
          - DatasourceReference
          - ScanReference
          - AdaptiveScopeReference
      - $ref: '#/components/parameters/api-version'
      - in: query
        name: $skipToken
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContactGroupNameList'
        default:
          description: An error response received from the provider.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        ContactAssignments_ListScopedContactGroupNames:
          $ref: ./examples/ContactAssignments_ListScopedContactGroupNames.json
      summary: Microsoft Azure Get Getscopedcontactgroupnames
components:
  schemas:
    EntityReference:
      description: Entity reference type.
      type: object
      properties:
        referenceName:
          description: Gets or sets the reference name.
          type: string
        type:
          description: Gets or sets the reference type property.
          enum:
          - Unknown
          - CollectionReference
          - ContactGroupDefinitionReference
          - DatasourceReference
          - ScanReference
          - AdaptiveScopeReference
          type: string
          x-ms-enum:
            name: EntityReferenceType
            modelAsString: true
    ErrorModel:
      description: Default error model
      type: object
      properties:
        code:
          description: Gets or sets the code.
          type: string
          readOnly: true
        details:
          description: Gets or sets the details.
          type: array
          items:
            $ref: '#/components/schemas/ErrorModel'
          readOnly: true
        message:
          description: Gets or sets the messages.
          type: string
          readOnly: true
        target:
          description: Gets or sets the target.
          type: string
          readOnly: true
    ErrorResponseModel:
      description: Default error response model
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ErrorModel'
    ContactGroupNameList:
      description: Paged list of contact group names.
      required:
      - value
      type: object
      properties:
        count:
          format: int64
          description: Total item count.
          type: integer
        nextLink:
          description: The Url of next result page.
          type: string
        value:
          description: Collection of items of type results.
          type: array
          items:
            type: string
    ContactAssignment:
      description: ContactAssignment resource.
      type: object
      properties:
        assignmentId:
          format: uuid
          description: Gets or sets the id of the assignment.
          type: string
        contactGroup:
          $ref: '#/components/schemas/EntityReference'
        principalId:
          description: Gets or sets the principal Id.
          type: string
        scope:
          $ref: '#/components/schemas/EntityReference'
        systemData:
          $ref: '#/components/schemas/SystemData'
    ContactAssignmentList:
      description: Paged list of contactAssignment.
      required:
      - value
      type: object
      properties:
        count:
          format: int64
          description: Total item count.
          type: integer
        nextLink:
          description: The Url of next result page.
          type: string
        value:
          description: Collection of items of type results.
          type: array
          items:
            $ref: '#/components/schemas/ContactAssignment'
    SystemData:
      description: Metadata pertaining to creation and last modification of the resource.
      type: object
      properties:
        createdAt:
          format: date-time
          description: The timestamp of resource creation (UTC).
          type: string
          readOnly: true
        createdBy:
          description: The identity that created the resource.
          type: string
          readOnly: true
        createdByType:
          description: The type of identity that created the resource.
          enum:
          - User
          - Application
          - ManagedIdentity
          - Key
          type: string
          readOnly: true
          x-ms-enum:
            name: IdentityType
            modelAsString: true
        lastModifiedAt:
          format: date-time
          description: The timestamp of the last modification the resource (UTC).
          type: string
          readOnly: true
        lastModifiedBy:
          description: The identity that last modified the resource.
          type: string
          readOnly: true
        lastModifiedByType:
          description: The type of identity that last modified the resource.
          enum:
          - User
          - Application
          - ManagedIdentity
          - Key
          type: string
          readOnly: true
          x-ms-enum:
            name: IdentityType
            modelAsString: true
  parameters:
    api-version:
      in: query
      name: api-version
      description: The api version to use.
      required: true
      x-ms-client-name: ApiVersion
      schema:
        type: string
  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.