Skip to main content
POST
/
projects
/
{projectId}
/
activities
/
{activityId}
/
cancel
Cancel a project activity
curl --request POST \
  --url {schemes}://api.upsun.com/projects/{projectId}/activities/{activityId}/cancel \
  --header 'Authorization: Bearer <token>'
{
  "status": "<string>",
  "code": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

projectId
string
required
activityId
string
required

Response

default - application/json
status
string
required

The status text of the response

code
integer
required

The status code of the response

Last modified on April 10, 2026