---
title: "Cancel a project activity"
method: POST
path: "/projects/{projectId}/activities/{activityId}/cancel"
tags: ["Project Activity"]
---

# Cancel a project activity

`POST /projects/{projectId}/activities/{activityId}/cancel`

Cancel a single activity as specified by an `id` returned by the
[Get project activity log](#tag/Project-Activity%2Fpaths%2F~1projects~1%7BprojectId%7D~1activities%2Fget)
endpoint.

Please note that not all activities are cancelable.

## Path parameters

- `projectId` string, required
- `activityId` string, required

## Response `default`

- AcceptedResponse
  - `status` string, required — The status text of the response
  - `code` integer, required — The status code of the response

---

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