Delete or archive an activity
Removes an activity, with semantics that depend on its source (the source/operation matrix): - **Manual** activities are **hard-deleted** — the row and its messages are removed permanently; a subsequent GET returns `404 not_found`. - **External-source** activities (`gmail`, `outlook`, `fireflies`) are **archived** — `archivedAt` is stamped and the row is retained but hidden from list responses unless `includeArchived=true`. Both outcomes return `204 No Content`.
DELETE
/clients/{clientId}/activities/{activityId}
Authorization
Section titled “Authorization”bearerAuth``
AuthorizationBearer <token>
Salfio API tokens start with the literal prefix sk_live_ followed by 32 base62 characters (≈190 bits of entropy). Tokens are hashed at rest with argon2id and shown to the user only once at creation.
In: header
Path Parameters
Section titled “Path Parameters”clientId*string
Formatuuid
activityId*string
Formatuuid
Response Body
Section titled “Response Body”application/json
application/json
application/json
curl -X DELETE "https://api.salfio.com/v1/clients/497f6eca-6276-4993-bfeb-53cbbbba6f08/activities/497f6eca-6276-4993-bfeb-53cbbbba6f08"Empty
{
"error": {
"code": "unauthorized",
"message": "Authentication required"
}
}
{
"error": {
"code": "not_found",
"message": "client not found"
}
}
{
"error": {
"code": "rate_limited",
"message": "Rate limit exceeded",
"details": {
"retry_after_seconds": 30
}
}
}