> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove Contact Selection Members

> Removes members from the selection as  specified in the collection of ContactPersonId.

NsApiSlow threshold: 5000 ms.



## OpenAPI

````yaml /openapi/agent/openapi-v3-SelectionAgent.json post /api/v1/Agents/Selection/RemoveContactSelectionMembers
openapi: 3.0.0
info:
  version: v1-Agents
  title: SuperOffice Agent API v1
  description: SuperOffice Agent API - SelectionAgent
  contact:
    name: SuperOffice DevNet
    url: https://docs.superoffice.com/en/api/index.html
    email: sdk@superoffice.com
servers:
  - url: http://localhost:56350
  - url: https://localhost:56350
security: []
tags: []
externalDocs:
  description: >-
    The SuperOffice DevNet Community has more documentation, examples, and
    discussion forums.
  url: https://community.superoffice.com/en/developer/
paths:
  /api/v1/Agents/Selection/RemoveContactSelectionMembers:
    post:
      tags:
        - Selection_Agent
      summary: Remove Contact Selection Members
      description: >-
        Removes members from the selection as  specified in the collection of
        ContactPersonId.


        NsApiSlow threshold: 5000 ms.
      operationId: v1SelectionAgent_RemoveContactSelectionMembers
      parameters:
        - name: $select
          in: query
          description: >-
            Optional comma separated list of properties to include in the
            result. Other fields are then nulled out to reduce payload size:
            "Name,department,category". Default = show all fields.
          required: false
          schema:
            type: string
        - name: SO-AppToken
          in: header
          description: >-
            The application token that identifies the partner app. Used when
            calling Online WebAPI from a server.
          required: false
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.SelectionCarriers.RemoveContactSelectionMembersRequest
          text/json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.SelectionCarriers.RemoveContactSelectionMembersRequest
          application/xml:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.SelectionCarriers.RemoveContactSelectionMembersRequest
          text/xml:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.SelectionCarriers.RemoveContactSelectionMembersRequest
          application/x-www-form-urlencoded:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.SelectionCarriers.RemoveContactSelectionMembersRequest
          application/json-patch+json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.SelectionCarriers.RemoveContactSelectionMembersRequest
          application/merge-patch+json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.SelectionCarriers.RemoveContactSelectionMembersRequest
        description: SelectionId, ContactPersonIds
        required: true
      responses:
        '204':
          description: No Content
      security:
        - SuperOffice_Password: []
          SuperId_Authentication: []
components:
  schemas:
    SuperOffice.WebApi.v1.Carriers.SelectionCarriers.RemoveContactSelectionMembersRequest:
      description: >-
        RemoveContactSelectionMembers: Removes members from the selection as 
        specified in the collection of ContactPersonId.
      type: object
      properties:
        SelectionId:
          format: int32
          type: integer
        ContactPersonIds:
          type: array
          items:
            $ref: '#/components/schemas/SuperOffice.CRM.Services.ContactPersonId'
    SuperOffice.CRM.Services.ContactPersonId:
      description: "Class representing an ContactPersonId carrier used for storing either a person id or a contact id. If PersonId contains an id, ContactId will be 0, and the other way around.\r\n<para />\r\nCarrier object for ContactPersonId."
      type: object
      properties:
        PersonId:
          format: int32
          description: A person id.
          type: integer
        ContactId:
          format: int32
          description: A contact id.
          type: integer
        TableRight:
          $ref: '#/components/schemas/SuperOffice.CRM.Security.TableRight'
        FieldProperties:
          description: >-
            Field property dictionary mapping field names to field access
            rights.
          type: object
          additionalProperties:
            $ref: '#/components/schemas/SuperOffice.CRM.Security.FieldProperty'
    SuperOffice.CRM.Security.TableRight:
      description: "Wraps a table right together with an explanatory reason.\r\nCode can indicate why access is restricted."
      type: object
      properties:
        Mask:
          type: string
        Reason:
          type: string
    SuperOffice.CRM.Security.FieldProperty:
      description: >-
        Class holding properties like field length, field type about a field in
        the carrier.
      type: object
      properties:
        FieldRight:
          $ref: '#/components/schemas/SuperOffice.CRM.Security.FieldRight'
        FieldType:
          type: string
        FieldLength:
          format: int32
          description: ''
          type: integer
    SuperOffice.CRM.Security.FieldRight:
      description: "Wraps the field right together with an explanatory reason.\r\nAlso adds logical operators to the field rights so that they can be easily combined."
      type: object
      properties:
        Mask:
          type: string
        Reason:
          type: string

````

## Related topics

- [Remove Contact Selection Members](/en/api/reference/restful/rest/selection/remove-contact-selection-members.md)
- [Remove Contact Selection Members From Ids](/en/api/reference/restful/agent/selection_agent/remove-contact-selection-members-from-ids.md)
- [Remove Contact Selection Members From Search](/en/api/reference/restful/agent/selection_agent/remove-contact-selection-members-from-search.md)
- [Add Remove Contact Selection Member Interests](/en/api/reference/restful/agent/selection_agent/add-remove-contact-selection-member-interests.md)
- [SuperOffice.WebApi.Data.Selection RemoveContactSelectionMembersRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Selection_RemoveContactSelectionMembersRequest.md)
- [SuperOffice.WebApi.Data.Selection RemoveContactSelectionMembersFromIdsRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Selection_RemoveContactSelectionMembersFromIdsRequest.md)
