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

The notification channel to which to send a verification code.

Authorization requires the following Google 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 will be empty.

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 Auth Guide.

Try it!

Send feedback about...

Stackdriver Monitoring