Skip to main content
DELETE
/
projects
/
{id}
/
tasks
/
{taskId}
Delete a task
curl --request DELETE \
  --url https://api.corebill.io/v1/projects/{id}/tasks/{taskId} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "deleted": true
  }
}

Authorizations

Authorization
string
header
required

API key authentication. Generate keys from the Corebill dashboard under the Developers section.

Example: Authorization: Bearer sk_live_abc123def456

Path Parameters

id
string
required

The project ID

taskId
string
required

Task ID

Example:

"tsk_a1b2c3d4e5f6"

Query Parameters

company_id
string
required

The company ID to scope the request to

Response

Resource deleted successfully

data
object
required