Method: projects.locations.plugins.disable

Disables a plugin. The state of the plugin after disabling is DISABLED

HTTP request

POST https://apihub.googleapis.com/v1/{name=projects/*/locations/*/plugins/*}:disable

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the plugin to disable. Format: projects/{project}/locations/{location}/plugins/{plugin}.

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

IAM Permissions

Requires the following IAM permission on the name resource:

  • apihub.plugins.disable

For more information, see the IAM documentation.