Method: projects.locations.extensions.delete

Deletes an Extension.

Endpoint

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

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

Path parameters

name string

Required. The name of the Extension resource to be deleted. Format: projects/{project}/locations/{location}/extensions/{extension}

Request body

The request body must be empty.

Example request

Python

import vertexai
from vertexai.preview import extensions

# TODO (developer): update project_id
vertexai.init(project=PROJECT_ID, location="us-central1")

# TODO(developer): Update and un-comment below line
# extension_id = "EXTENSION_ID"
extension = extensions.Extension(extension_id)
extension.delete()

Response body

If successful, the response body contains an instance of Operation.