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

# Event actions (ignore, remediate, etc.)

> Applies one action (`ignore`, `unignore`, `remediate` or `unremediate`) to up to 10 events, for the tenant the caller is acting in. The result is visible in `tenant_metadata.ignored_at` and `tenant_metadata.remediated_at` of the feed items, and the feed endpoints can filter on it with `filters.status`. The response body is `null`. Use `/events/tenant/metadata` to edit the tags, notes or severity of an event instead.

Apply an action to a list of events (ignore, remediate, etc.).


## OpenAPI

````yaml firework-v4-openapi post /firework/v4/events/actions
openapi: 3.1.0
info:
  title: Firework API
  version: v4
servers:
  - url: https://api.flare.io
security:
  - BearerAuth: []
tags:
  - name: Audit Logs
    description: Audit trail of actions performed in the platform.
  - name: Credentials
    description: >-
      Leaked credentials: search across all sources or within a tenant, and
      remediate or ignore them.
  - name: Entities
    description: >-
      Threat intelligence entities such as actors, chat channels, forum threads
      and domains, and the relations between them.
  - name: Events
    description: >-
      Events collected by Flare: global search, tenant and identifier feeds,
      event details, actions and saved feed views.
  - name: Identifiers
    description: >-
      Identifiers are the assets a tenant monitors, such as domains, keywords
      and email addresses. Includes recommendations and authorization of
      sensitive identifiers.
  - name: Matching Policies
    description: >-
      Matching policies refine which events match identifiers. Manage policies
      and their assignment to identifiers.
  - name: Sandbox
    description: File uploads and their sandbox analysis.
  - name: Threat Flow
    description: >-
      Threat Flow intelligence requests, generated reports and conversation
      summaries.
paths:
  /firework/v4/events/actions:
    post:
      tags:
        - Events
      summary: Apply an action to events
      description: >-
        Applies one action (`ignore`, `unignore`, `remediate` or `unremediate`)
        to up to 10 events, for the tenant the caller is acting in. The result
        is visible in `tenant_metadata.ignored_at` and
        `tenant_metadata.remediated_at` of the feed items, and the feed
        endpoints can filter on it with `filters.status`. The response body is
        `null`. Use `/events/tenant/metadata` to edit the tags, notes or
        severity of an event instead.
      operationId: event_actions_events_actions_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EventActionsBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '401':
          description: UNAUTHORIZED
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    properties:
                      code:
                        type: string
                        enum:
                          - UNAUTHORIZED
                      data:
                        anyOf:
                          - additionalProperties: true
                            type: object
                          - type: 'null'
                        title: Data
                      message:
                        anyOf:
                          - type: string
                          - items: {}
                            type: array
                          - type: 'null'
                        title: Message
                    required:
                      - code
                      - data
                      - message
                    title: HTTPError
                    type: object
                required:
                  - error
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    EventActionsBody:
      properties:
        targets:
          items:
            $ref: '#/components/schemas/EventActionTarget'
          type: array
          maxItems: 10
          title: Targets
          description: Events to apply the action to, at most 10.
        action:
          $ref: '#/components/schemas/EventAction'
          description: Action applied to every target.
      type: object
      required:
        - action
      title: EventActionsBody
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    EventActionTarget:
      properties:
        uid:
          type: string
          title: Uid
          description: Uid of the event to apply the action to.
      type: object
      required:
        - uid
      title: EventActionTarget
    EventAction:
      properties:
        type:
          type: string
          enum:
            - remediate
            - unremediate
            - ignore
            - unignore
          title: Type
          description: >-
            Action to apply: `ignore` and `unignore` set and clear the ignored
            status, `remediate` and `unremediate` set and clear the remediated
            status.
      type: object
      required:
        - type
      title: EventAction
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````

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