Deletes a Model version.
Model version can only be deleted if there are no DeployedModels
created from it. Deleting the only version in the Model is not allowed. Use models.delete
for deleting the Model instead.
HTTP request
DELETE https://{service-endpoint}/v1/{name}:deleteVersion
Where {service-endpoint}
is one of the supported service endpoints.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the model version to be deleted, with a version ID explicitly included. Example: |
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:
aiplatform.models.delete
For more information, see the IAM documentation.