channels

Test notification setting

Request
Security:
ApiKey (readwrite)
Request Body schema: */*
accountId
required
string
recipient
required
string
notificationId
required
string
type
string
subject
required
string
body
required
string
Responses
200

successful operation

400

Bad Request

500

Internal server error

post/resourcegroup/api/channels/test
Request samples
curl -i -X POST \
  https://app.harness.io/gateway/resourcegroup/api/channels/test \
  -H 'Content-Type: */*' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d '[object Object]'
Response samples
application/json
{
  • "status": "SUCCESS",
  • "data": true,
  • "metaData": { },
  • "correlationId": "string"
}