Method: projects.locations.recognizers.delete

Deletes the Recognizer.

HTTP request

DELETE https://{endpoint}/v2/{name=projects/*/locations/*/recognizers/*}

Where {endpoint} is one of the supported service endpoints.

The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the Recognizer to delete. Format: projects/{project}/locations/{location}/recognizers/{recognizer}

Query parameters

Parameters
validateOnly

boolean

If set, validate the request and preview the deleted Recognizer, but do not actually delete it.

allowMissing

boolean

If set to true, and the Recognizer is not found, the request will succeed and be a no-op (no Operation is recorded in this case).

etag

string

This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Operation.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • speech.recognizers.delete

For more information, see the IAM documentation.