---
title: "DELETE /projects/{+projectId}/datasets/{+datasetId}/routines/{+routineId}"
method: DELETE
path: "/projects/{+projectId}/datasets/{+datasetId}/routines/{+routineId}"
tags: ["routines"]
---

# DELETE /projects/{+projectId}/datasets/{+datasetId}/routines/{+routineId}

`DELETE /projects/{+projectId}/datasets/{+datasetId}/routines/{+routineId}`

Deletes the routine specified by routineId from the dataset. # IAM Permissions Requires the `bigquery.routines.delete` permission on the routine.

## Path parameters

- `projectId` string, required
- `datasetId` string, required
- `routineId` string, required

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/bigquery.md) · [All operations](https://skmtc.net/google/apis/bigquery/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/bigquery/versions/98f33ea9c8c9/schema)
