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

# Remove VIP employees

> Takes mailboxes off the VIP list. Removal is an explicit exclusion, not a delete: it records "never treat this mailbox as a VIP", which is what keeps Ocean's automatic detection from adding the employee straight back.

Because of that, removing a mailbox that is **not** currently a VIP still succeeds and still writes an exclusion. It is not a no-op: an employee who would later be detected automatically — after a promotion, say — stays off the list. Use it deliberately to opt someone out in advance.

`affected` counts the exclusions written, not the VIPs removed. Removing the same mailbox twice returns `affected: 0` the second time, so the call is idempotent. The mailbox is not checked against your directory, so a mistyped address is accepted and silently excluded — send addresses you have verified. Audit-logged.



## OpenAPI

````yaml post /api/v1/settings/vip_employees/remove
openapi: 3.0.0
info:
  contact: {}
  title: Ocean Security API
  version: 1.0.0
  description: Ocean Security API for threat detection and security metrics
servers:
  - url: https://api.ocean.security
    description: Production server
security:
  - ApiKeyAuth: []
tags:
  - name: Threats
    description: Operations for retrieving threat information
  - name: Metrics
    description: Security metrics and analytics endpoints
paths:
  /api/v1/settings/vip_employees/remove:
    post:
      tags:
        - VIP Employees
      summary: Remove VIP employees
      description: >-
        Takes mailboxes off the VIP list. Removal is an explicit exclusion, not
        a delete: it records "never treat this mailbox as a VIP", which is what
        keeps Ocean's automatic detection from adding the employee straight
        back.


        Because of that, removing a mailbox that is **not** currently a VIP
        still succeeds and still writes an exclusion. It is not a no-op: an
        employee who would later be detected automatically — after a promotion,
        say — stays off the list. Use it deliberately to opt someone out in
        advance.


        `affected` counts the exclusions written, not the VIPs removed. Removing
        the same mailbox twice returns `affected: 0` the second time, so the
        call is idempotent. The mailbox is not checked against your directory,
        so a mistyped address is accepted and silently excluded — send addresses
        you have verified. Audit-logged.
      parameters:
        - description: Authentication API Key
          in: header
          name: X-Api-Key
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/controllers_settings_vip.RemoveVipEmployeesRequest
        description: Mailboxes to remove
        required: true
      responses:
        '200':
          description: Number of rows affected
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/ocean_api_common.BaseResponse-common_MutationResult
        '400':
          description: Invalid request body
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/types.ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/types.ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/types.ErrorResponse'
components:
  schemas:
    controllers_settings_vip.RemoveVipEmployeesRequest:
      properties:
        emails:
          items:
            type: string
          maxItems: 1000
          minItems: 1
          type: array
      required:
        - emails
      type: object
    ocean_api_common.BaseResponse-common_MutationResult:
      properties:
        results:
          $ref: '#/components/schemas/common.MutationResult'
        status:
          type: integer
      type: object
    types.ErrorResponse:
      properties:
        error:
          type: string
      type: object
    common.MutationResult:
      properties:
        affected:
          type: integer
      type: object
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key
      description: API key for authentication

````