---
title: "Update an activity"
method: PATCH
path: "/v2/activities/{activity}"
tags: ["Activities"]
---

# Update an activity

`PATCH /v2/activities/{activity}`

Updates a single activity by its `activity_id` or slug. The schema an activity extends is fixed after creation, so `extends` cannot be changed.

This endpoint is in alpha and may be subject to breaking changes as we gather feedback.

Required scopes: `activity_configuration:read-write`.

## Path parameters

- `activity` string, required — A UUID or slug to identify the activity.

## Request body

- object
  - `data` object, required
    - `api_slug` string — A unique, human-readable slug to access the activity through URLs and API calls. Should be formatted in snake case.
    - `singular_noun` string — The singular form of the activity's name.
    - `plural_noun` string — The plural form of the activity's name.

## Response `200`

Success

- object — Success
  - `data` Activity, required
    - `id` object, required
      - `workspace_id` string, uuid, required — A UUID to identify the workspace this activity belongs to.
      - `activity_id` string, uuid, required — A UUID to identify the activity.
    - `api_slug` string, required — A unique, human-readable slug to access the activity through URLs and API calls. Formatted in snake case.
    - `singular_noun` string, required — The singular form of the activity's name.
    - `plural_noun` string, required — The plural form of the activity's name.
    - `extends` object[], required — The schemas this activity directly extends, which supply its inherited attributes.
      - `schema_id` string, uuid, required — A UUID to identify the schema.
      - `schema_slug` string, required — The human-readable slug of the schema.
    - `is_system_activity` boolean, required — `true` when Attio defines the activity, `false` when it's a custom activity.
    - `created_at` string, required — When the activity was created.

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `409` — Conflict

---

[API](https://skmtc.net/attio/apis/attio-api.md) · [All operations](https://skmtc.net/attio/apis/attio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/attio/attio-api/revisions/6ad6c02e6af9/schema)
