curl -i -X GET \ 'https://app.harness.io/cv/api/notification-rule/{identifier}?accountId=string&orgIdentifier=string&projectIdentifier=string' \ -H 'x-api-key: YOUR_API_KEY_HERE'
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Bad Request
Internal Server Error
curl -i -X PUT \ 'https://app.harness.io/cv/api/notification-rule/{identifier}?accountId=string&orgIdentifier=string&projectIdentifier=string' \ -H 'Content-Type: */*' \ -H 'x-api-key: YOUR_API_KEY_HERE' \ -d '[object Object]'
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Bad Request
Internal Server Error
curl -i -X DELETE \ 'https://app.harness.io/cv/api/notification-rule/{identifier}?accountId=string&orgIdentifier=string&projectIdentifier=string' \ -H 'x-api-key: YOUR_API_KEY_HERE'
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Bad Request
Internal Server Error
curl -i -X GET \ 'https://app.harness.io/cv/api/notification-rule?accountId=string&orgIdentifier=string&projectIdentifier=string¬ificationRuleIdentifiers=string&pageNumber=0&pageSize=0' \ -H 'x-api-key: YOUR_API_KEY_HERE'
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Bad Request
Internal Server Error
curl -i -X POST \ 'https://app.harness.io/cv/api/notification-rule?accountId=string' \ -H 'Content-Type: */*' \ -H 'x-api-key: YOUR_API_KEY_HERE' \ -d '[object Object]'
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}