Authorization requires the followingIAMpermission on the specified resourcename:
dataform.repositories.delete
Query parameters
Parameters
force
boolean
Optional. If set to true, child resources of this repository (compilation results and workflow invocations) will also be deleted. Otherwise, the request will only succeed if the repository has no child resources.
Note:This flag doesn't support deletion of workspaces, release configs or workflow configs. If any of such resources exists in the repository, the request will fail..
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-21 UTC."],[[["\u003cp\u003eThis webpage details the process for deleting a single Repository using a DELETE HTTP request to a specific URL.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a repository name as a path parameter and supports an optional query parameter, \u003ccode\u003eforce\u003c/code\u003e, for deleting child resources.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and a successful response will return an empty JSON object.\u003c/p\u003e\n"],["\u003cp\u003eDeleting a repository requires \u003ccode\u003edataform.repositories.delete\u003c/code\u003e IAM permission on the specified repository and can be authenticated using either the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/bigquery\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.repositories.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\nDeletes a single Repository.\n\n### HTTP request\n\n`DELETE https://dataform.googleapis.com/v1/{name=projects/*/locations/*/repositories/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is an empty JSON object.\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/bigquery`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:\n\n- `dataform.repositories.delete`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]