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
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
string
Required. The verification code that was delivered to the channel as a result of invoking the notificationChannels.sendVerificationCode API method or that was retrieved from a verified channel via notificationChannels.getVerificationCode. For example, one might have "G-123456" or "TKNZGhhd2EyN3I1MnRnMjRv" (in general, one is only guaranteed that the code is valid UTF-8; one should not make any assumptions regarding the structure or format of the code).
Response body
If successful, the response body contains an instance of NotificationChannel.