Method: projects.locations.endpoints.mutateDeployedModel

Updates an existing deployed model. Updatable fields include minReplicaCount, maxReplicaCount, autoscalingMetricSpecs, disableContainerLogging (v1 only), and enableContainerLogging (v1beta1 only).

HTTP request

POST https://{service-endpoint}/v1/{endpoint}:mutateDeployedModel

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

Path parameters



Required. The name of the Endpoint resource into which to mutate a DeployedModel. Format: projects/{project}/locations/{location}/endpoints/{endpoint}

Request body

The request body contains data with the following structure:

JSON representation
  "deployedModel": {
    object (DeployedModel)
  "updateMask": string

object (DeployedModel)

Required. The DeployedModel to be mutated within the Endpoint. Only the following fields can be mutated:


string (FieldMask format)

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

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 endpoint resource:

  • aiplatform.endpoints.deploy

For more information, see the IAM documentation.