Method: projects.notificationChannels.sendVerificationCode

Causes a verification code to be delivered to the channel. The code can then be supplied in notificationChannels.verify to verify the channel.

HTTP request

POST https://monitoring.googleapis.com/v3/{name}:sendVerificationCode

Path parameters

Parameters
name

string

Required. The notification channel to which to send a verification code.

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

  • monitoring.notificationChannels.sendVerificationCode

Request body

The request body must be empty.

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年07月23日 UTC.