Method: tunedModels.delete

Deletes a tuned model.

HTTP request

DELETE https://generativelanguage.googleapis.com/v1beta/{name=tunedModels/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The resource name of the model. Format: tunedModels/my-model-id

Request body

The request body must be empty.

Response body

If successful, the response body is empty.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/generative-language.tuning

For more information, see the Authentication Overview.