Skip to main content
DELETE
Delete an activity

Authorizations

Authorization
string
header
required

A workspace API token (sk_live_...) or an OAuth access token (oat_live_...). Create workspace tokens in Settings > API. Send either as Authorization: Bearer <token>.

Headers

Idempotency-Key
string

A unique value (a UUID works) that makes retrying this request safe. A repeat with the same key and body within 24 hours returns the original response instead of acting twice; the same key with a different body is a 409 idempotency_key_reused.

Maximum string length: 255

Path Parameters

activity_id
string
required

Unique identifier for an activity.

Pattern: ^act_[0-9a-f]{32}$
Example:

"act_9f2ac41d8b7e4a51b0d3e6f7a1c2d3e4"

Response

Successful Response