> ## 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 Selection Members By Id

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

The ids can be a collection of sale ids, or other supported types.



## OpenAPI

````yaml /openapi/rest/openapi-v3-Selection.json post /api/v1/Selection/{selectionId}/Members/Remove
openapi: 3.0.0
info:
  version: v1-REST
  title: SuperOffice REST API v1
  description: SuperOffice REST API - Selection
  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/Selection/{selectionId}/Members/Remove:
    post:
      tags:
        - Selection
      summary: Remove Selection Members By Id
      description: >-
        Removes members from the selection as specified in the collection of
        entity ids.


        The ids can be a collection of sale ids, or other supported types.
      operationId: v1SelectionEntity_RemoveSelectionMembersById
      parameters:
        - name: selectionId
          in: path
          description: The id of the selection where to members will be removed.
          required: true
          schema:
            format: int32
            type: integer
        - 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:
              type: array
              items:
                format: int32
                type: integer
          text/json:
            schema:
              type: array
              items:
                format: int32
                type: integer
          application/xml:
            schema:
              type: array
              items:
                format: int32
                type: integer
          text/xml:
            schema:
              type: array
              items:
                format: int32
                type: integer
          application/x-www-form-urlencoded:
            schema:
              type: array
              items:
                format: int32
                type: integer
          application/json-patch+json:
            schema:
              type: array
              items:
                format: int32
                type: integer
          application/merge-patch+json:
            schema:
              type: array
              items:
                format: int32
                type: integer
        description: >-
          A collection of sale/project/contact ids to remove from the selection.
          The ids can be a collection of sale ids, or other supported types.
        required: true
      responses:
        '204':
          description: No Content
      security:
        - SuperOffice_Password: []
          SuperId_Authentication: []
components: {}

````

## Related topics

- [Remove Selection Members By Id](/en/api/reference/restful/agent/selection_agent/remove-selection-members-by-id.md)
- [SuperOffice.WebApi.Data.Selection RemoveSelectionMembersByIdRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Selection_RemoveSelectionMembersByIdRequest.md)
- [NSSelectionAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSSelectionAgent.md)
- [SuperOffice.WebApi.Agents.SelectionAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.SelectionAgent.md)
- [SuperOffice.WebApi.Agents.ISelectionAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ISelectionAgent.md)
- [Remove Selection Members](/en/api/reference/restful/agent/selection_agent/remove-selection-members.md)
