Method: projects.locations.models.delete

Deletes a Model. Note: Model can only be deleted if there are no DeployedModels created from it.

HTTP request

DELETE https://{service-endpoint}/v1beta1/{name}

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

Path parameters



Required. The name of the Model resource to be deleted. Format: projects/{project}/locations/{location}/models/{model}

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:


For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • aiplatform.models.delete

For more information, see the IAM documentation.