Method: projects.locations.models.undeploy

Removes a deployed model. If the model is not deployed, then this method has no effect.

Returns an empty response in the response field when it completes.

HTTP request


Path parameters



Resource name of the model to undeploy.

Authorization requires the following Google IAM permission on the specified resource name:

  • automl.models.undeploy

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.

Was this page helpful? Let us know how we did:

Send feedback about...

AutoML Natural Language Sentiment Analysis