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

# Update Activity

> Changes one custom activity logged in RevyOps. properties are merged into the current ones and checked against the activity type; null clears a property. occured_at moves the activity in time. Synced activities are edited in their source and answer 403.



## OpenAPI

````yaml PATCH /public/activities/{activity_id}/
openapi: 3.0.3
info:
  title: RevyOps API
  version: 1.0.0
servers:
  - url: https://app.revyops.com/api
security:
  - ApiKeyAuth: []
paths:
  /public/activities/{activity_id}/:
    patch:
      tags:
        - public
      description: >-
        Changes one custom activity logged in RevyOps. properties are merged
        into the current ones and checked against the activity type; null clears
        a property. occured_at moves the activity in time. Synced activities are
        edited in their source and answer 403.
      operationId: Update activity
      parameters:
        - in: path
          name: activity_id
          schema:
            type: string
            pattern: ^[0-9]+$
          required: true
      responses:
        '200':
          description: No response body
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY

````

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