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

# Update automation settings for ungrouped users or endpoints without changing team-level switches



## OpenAPI

````yaml https://api.wirespeed.co/v1/openapi.json patch /v1/group/ungrouped-policy/{entityType}
openapi: 3.0.0
info:
  title: Wirespeed API
  description: The public Wirespeed API. v1 is the first stable contract.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.wirespeed.co
security: []
tags: []
paths:
  /v1/group/ungrouped-policy/{entityType}:
    patch:
      tags:
        - Group
      summary: >-
        Update automation settings for ungrouped users or endpoints without
        changing team-level switches
      operationId: GroupController_updateUngroupedPolicy
      parameters:
        - name: entityType
          required: true
          in: path
          schema:
            type: string
            enum:
              - user
              - endpoint
            x-extensible-enum: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateUngroupedAssetPolicyDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UngroupedAssetPolicyDto'
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
      security:
        - bearer: []
components:
  schemas:
    UpdateUngroupedAssetPolicyDto:
      type: object
      properties:
        chatOpsEnabled:
          type: boolean
          description: Whether chat ops is enabled for ungrouped users
        containmentEnabled:
          type: boolean
          description: Whether containment is enabled for ungrouped assets
        sourceSystemUpdates:
          type: boolean
          description: >-
            When false, outbound updates to the source security product are
            skipped for detections linked to ungrouped assets
        alwaysNotify:
          type: boolean
          description: >-
            When true, detections involving ungrouped assets are always
            escalated for notification, even when the verdict rule would resolve
            or only run chat ops
    UngroupedAssetPolicyDto:
      type: object
      properties:
        entityType:
          type: string
          enum:
            - user
            - endpoint
          x-extensible-enum: true
        chatOpsEnabled:
          type: boolean
        containmentEnabled:
          type: boolean
        sourceSystemUpdates:
          type: boolean
        alwaysNotify:
          type: boolean
      required:
        - entityType
        - chatOpsEnabled
        - containmentEnabled
        - sourceSystemUpdates
        - alwaysNotify
    HttpError:
      type: object
      properties:
        message:
          type: string
        statusCode:
          type: number
        code:
          type: string
          description: >-
            Stable machine-readable error code. Clients should branch and
            translate on this instead of `message`.
        params:
          type: object
          description: Values interpolated into the message for `code`.
          additionalProperties:
            oneOf:
              - type: string
              - type: number
              - type: boolean
            nullable: true
        validationErrors:
          description: >-
            Per-property failures when `code` is `VALIDATION_FAILED` from
            request validation.
          type: array
          items:
            $ref: '#/components/schemas/HttpValidationIssue'
      required:
        - message
        - statusCode
    HttpValidationIssue:
      type: object
      properties:
        property:
          type: string
          description: Dotted path of the invalid property.
        constraint:
          type: string
          description: >-
            class-validator constraint name; clients translate
            `errors:validation.<constraint>`.
        params:
          type: object
          description: Values interpolated into the constraint message.
          additionalProperties:
            oneOf:
              - type: string
              - type: number
              - type: boolean
            nullable: true
        code:
          type: string
          description: Catalog code overriding the constraint translation.
      required:
        - property
        - constraint
        - params
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: API key
      type: http
      description: >-
        Team API key sent as a Bearer token. Create a key in Wirespeed under
        Settings → Team. See
        https://docs.wirespeed.co/api-reference/authentication.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.