diff --git a/website/docs/r/organization_webhook.html.markdown b/website/docs/r/organization_webhook.html.markdown index aec9bc022f..ffc66635b3 100644 --- a/website/docs/r/organization_webhook.html.markdown +++ b/website/docs/r/organization_webhook.html.markdown @@ -14,8 +14,6 @@ This resource allows you to create and manage webhooks for GitHub organization. ```hcl resource "github_organization_webhook" "foo" { - name = "web" - configuration { url = "https://google.de/" content_type = "form" @@ -32,8 +30,6 @@ resource "github_organization_webhook" "foo" { The following arguments are supported: -* `name` - (Required) The type of the webhook. See a list of [available hooks](https://api.github.com/hooks). - * `events` - (Required) A list of events which should trigger the webhook. See a list of [available events](https://developer.github.com/v3/activity/events/types/) * `configuration` - (Required) key/value pair of configuration for this webhook. Available keys are `url`, `content_type`, `secret` and `insecure_ssl`. diff --git a/website/docs/r/repository_webhook.html.markdown b/website/docs/r/repository_webhook.html.markdown index 4742486842..fbada58a6f 100644 --- a/website/docs/r/repository_webhook.html.markdown +++ b/website/docs/r/repository_webhook.html.markdown @@ -28,8 +28,6 @@ resource "github_repository" "repo" { resource "github_repository_webhook" "foo" { repository = "${github_repository.repo.name}" - name = "web" - configuration { url = "https://google.de/" content_type = "form" @@ -46,8 +44,6 @@ resource "github_repository_webhook" "foo" { The following arguments are supported: -* `name` - (Required) The type of the webhook. `web` is the only option. - * `repository` - (Required) The repository of the webhook. * `events` - (Required) A list of events which should trigger the webhook. See a list of [available events](https://developer.github.com/v3/activity/events/types/).