Activity Records

Delete an activity

Permanently deletes an activity record, with its replies and reactions.

Authorization. The caller must be able to access the activity's parent entity and hold the <entity>:delete_my_items user permission for its type (meetings, leads, workflows, employers or customers). Deleting an activity created by another user additionally requires <entity>:delete_all_items. No OAuth2 scope beyond a valid token is required.

Side effects. Publishes an ActivityDeleted event. Returns 200 OK with an empty body (not 204).

Errors. 404 if the activity does not exist in the caller's tenant; 400 with error code 40000 if the caller lacks the required delete permission or cannot access the parent entity.

delete/activities/{activityId}

Request

  • Base URL
    https://api.surense.com/api/v1
  • URL
    https://api.surense.com/api/v1/activities/{activityId}
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://api.surense.com/oauth/token

Path parameters

activityIdstring uuid required

ID of the activity record to delete (UUID).

Response

The activity was deleted (empty body)

Changes

No recorded changes to this operation across all 1 revision of this API.