Verifies a NotificationChannel
by proving receipt of the code delivered to the channel as a result of calling notificationChannels.sendVerificationCode
.
HTTP request
POST https://monitoring.googleapis.com/v3/{name}:verify
Path parameters
name
string
Required. The notification channel to verify.
Authorization requires the following IAM
permission on the specified resource name
:
-
monitoring.notificationChannels.verify
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "code" : string } |
| Fields | |
|---|---|
code
|
Required. The verification code that was delivered to the channel as a result of invoking the |
Response body
If successful, the response body contains an instance of NotificationChannel
.
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 .

