Required. The processor version resource name to be deleted. It takes the form projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorversion}.
Authorization requires the following IAM permission on the specified resource name:
documentai.processorVersions.delete
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Operation.
[[["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-06-10 UTC."],[[["\u003cp\u003eDeletes a specified processor version and all associated artifacts.\u003c/p\u003e\n"],["\u003cp\u003eRequires a \u003ccode\u003eDELETE\u003c/code\u003e HTTP request to the provided endpoint with the correct resource \u003ccode\u003ename\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty to execute this command properly.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful deletion returns an \u003ccode\u003eOperation\u003c/code\u003e instance in the response body.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003edocumentai.processorVersions.delete\u003c/code\u003e IAM permission is needed, and \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e is the required OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: processorVersions.delete\n\n**Full name**: projects.locations.processors.processorVersions.delete\n\nDeletes the processor version, all artifacts under the processor version will be deleted.\n\n### HTTP request\n\n`DELETE https://{endpoint}/v1/{name}`\n\nWhere `{endpoint}` is one of the [supported service endpoints](/document-ai/docs/reference/rest#rest_endpoints).\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/document-ai/docs/reference/rest/Shared.Types/ListOperationsResponse#Operation).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:\n\n- `documentai.processorVersions.delete`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]