1. Tasks API
Hatif
  • Rate Limiting
  • Account API
    • Service Login
  • Channels API
    • Get Channels
  • Support API
    • Upload Image, Video, or PDF
    • Upload Audio File
  • Whatsapp API
    • Send Text
    • Send Template
    • Send Image
    • Send Audio
    • Send Video
    • Send File
    • Send Interactive Buttons
    • List Templates (Service Account)
  • Contact
    • Set Property Value on Contact
    • Search Contacts
    • Delete Property Value on Contact
    • Create Contact
    • Update Contact
    • Get Contacts
    • Get Contact By Id
    • Create Bulk Contacts vCards
    • Contacts History
  • Contact Properties
    • List Contact Properties
    • Contact Properties Statistics
    • Create Contact Property
    • Update Contact Property
    • Delete Contact Property
  • Workspace API
    • Get Workspace Users
  • Conversations API
    • Get Conversation Timeline
    • List Conversations
    • Create Conversation
    • Assign Conversation
    • Get Conversation
    • Assign Conversation
  • Tags API
    • Tag a conversation
    • Create Tag
    • Delete Tag
    • Update Tag
    • List Tags
  • Outbound IVR
    • Create Outbound IVR
    • Get Outbound IVR Request
  • Outbound IVR Flows
    • Create Outbound IVR Flow
    • List Outbound IVR Flows
    • Get Outbound IVR Flow
    • Update Outbound IVR Flow
    • Delete Outbound IVR Flow
  • Tasks API
    • Create Task
      POST
    • List Tasks
      GET
    • Get Task
      GET
    • Update Task
      PUT
    • Delete Task
      DELETE
    • List Task Properties
      GET
    • Create Task Property
      POST
    • List Task Projects
      GET
    • Create Task Project
      POST
    • Get Task Project
      GET
    • Rename Task Project
      PUT
    • Delete Task Project
      DELETE
    • List Task Sections
      GET
    • Create Task Section
      POST
    • List Tasks By Conversation
      GET
    • Move Task
      POST
    • Schedule Task
      POST
    • Assign Task
      POST
    • Set Task Due Date
      POST
    • Complete Task
      POST
    • Reopen Task
      POST
    • Set Task Section
      PUT
    • Move Task Project
      POST
    • Rename Task Section
      PUT
    • Delete Task Section
      DELETE
    • Move Task Section
      POST
    • Update Task Property
      PUT
    • Delete Task Property
      DELETE
    • Set Task Property Value
      PUT
    • List Task Comments
      GET
    • Create Task Comment
      POST
    • Edit Task Comment
      PUT
    • Delete Task Comment
      DELETE
    • Set Task Reminder
      POST
  • Teams API
    • Create Team
    • Get Team
    • Update Team
    • Delete Team
    • Add Team Members
    • Update Team Member Conversation Access
    • Remove Team Member
    • List Teams
    • List Team Member Options
    • List Team Assignment Targets
    • Assign Conversation to Team
  • Partner API
    • 2. Register customer
      • 1) Create registration
      • Update registration details
      • Resend mobile code
      • 2) Verify mobile code
      • 3) Send email code
      • 4) Verify email code
      • 5) Complete registration → workspace + workspace key
      • Issue another workspace key
    • 3. Subscribe (plan & balance)
      • Add wallet balance (top-up) → payment link
      • Plans you can sell (find the Builder plan ID)
      • Get wallet balance
      • Create quote (plan) → payment link
      • Get quote status (poll for payment)
    • 4. Phone number
      • Assign number (after payment)
      • Available numbers
      • List the workspace's channels
    • 5. Contract
      • Replaced: use Get activation link
      • Replaced: number status is on the channel
      • Get activation link
    • 6. AI agent (SIP)
      • Connect the number to your AI agent
      • Disconnect your AI agent
    • 7. Calls & events
      • Not available yet: list calls
      • Not available yet: set events webhook
  • Call Webhook
  • WhatsApp Message Webhook
  • Schemas
    • Call Webhook
    • WhatsApp Message Webhook
    • ServiceAccountTemplateDto
    • OutboundIvrOption
    • ConversationDto
    • RegistrationDetails
    • CreateTagDto
    • AbpError
    • ServiceAccountTemplateParameterDto
    • OutboundIvrQuestionStepProps
    • ChannelConversationDto
    • UpdateTagDto
    • TaskPropertyValue
    • CreateRegistration
    • ServiceAccountCreateTaskDto
    • TemplateParameterDto
    • OutboundIvrStep
    • OtpCode
    • TagDto
    • PagedResultOfTagDto
    • TaskActivityPropertySnapshot
    • ConversationTimelineDto
    • ApiCredential
    • ParameterValueDto
    • CreateOutboundIvrRequest
    • TaskActivitySnapshot
    • SaveOutboundIvrFlow
    • ChannelNotFoundError
    • OutboundIvrFlow
    • Quote
    • AiSummaryDto
    • TaskActivityDto
    • ReplyInfoDto
    • OutboundIvrAnswer
    • TaskSummaryDto
    • InternalThreadDto
    • OutboundIvrStatus
    • TaskDto
    • LocationMessageDto
    • OutboundIvrResult
    • PagedResultOfTaskDto
    • AssignationInfoDto
    • TaskPropertyDefinitionDto
    • PagedResultOfConversationDto
    • OutboundIvrAudioType
    • OutboundIvrRequest
    • PagedResultOfConversationTimelineDto
    • TaskProjectDto
    • TaskSectionDto
    • OutboundIvrWebhookPayload
    • PagedResultOfTaskProjectDto
    • PagedResultOfTaskSectionDto
    • UpdateTaskDto
    • MoveTaskDto
    • SetTaskSectionDto
    • SetTaskScheduleDto
    • AssignTaskDto
    • SetTaskDueDateDto
    • NameDto
    • MoveBeforeDto
    • TaskPropertyOptionDto
    • CreateTaskPropertyDto
    • UpdateTaskPropertyDto
    • TaskCommentDto
    • WriteTaskCommentDto
    • PagedResultOfTaskCommentDto
    • SetTaskReminderDto
  1. Tasks API

Delete Task

DELETE
/v1/tasks/service-account/{id}
Deletes the task and all its subtasks.
Permissions: a service account owns no task, so it acts with manage any task rights on every task in its workspace, shared or private. Its changes appear in task history as actorType: serviceAccount.

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Path Params

Responses

🟢204No Content
Deleted.
This response does not have a body.
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://api.voxa.sa/v1/tasks/service-account/' \
--header 'Authorization: Bearer <token>'
Response Response Example
403 - Example 1
{
    "error": {
        "code": "string",
        "message": "string",
        "details": "string",
        "validationErrors": [
            {
                "message": "string",
                "members": [
                    "string"
                ]
            }
        ]
    }
}
Modified at 2026-10-21 14:06:21
Previous
Update Task
Next
List Task Properties
Built with