Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions doc/organization/webhooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Additional APIs:

### List webhooks for an organization

> Requires [authentication](security.md).
> Requires [authentication](../security.md).

```php
$webhooks = $client->organization()->all('KnpLabs');
Expand All @@ -19,7 +19,7 @@ Returns an array of webhooks for the organization.

### Get a webhook for an organization

> Requires [authentication](security.md).
> Requires [authentication](../security.md).

```php
$webhook = $client->organization()->show('KnpLabs', 123);
Expand All @@ -29,7 +29,7 @@ Returns the webhook with the ID 123 as an array for the organization.

### Create a new webhook for an organization

> Requires [authentication](security.md).
> Requires [authentication](../security.md).

```php
$webhook = $client->organization()->create('KnpLabs', array(
Expand All @@ -53,7 +53,7 @@ The create webhook will be returned as an array.

### Update an existing webhook for an organization

> Requires [authentication](security.md).
> Requires [authentication](../security.md).

```php
$success = $client->organization()->update('KnpLabs', 123, array(
Expand All @@ -76,7 +76,7 @@ In case of success, an array of informations about the webhook will be returned.

### Ping a webhook for an organization

> Requires [authentication](security.md).
> Requires [authentication](../security.md).

```php
$client->organization()->pings('KnpLabs', 123);
Expand All @@ -86,10 +86,10 @@ No content is returned.

### Delete a webhook for an organization

> Requires [authentication](security.md).
> Requires [authentication](../security.md).

```php
$client->organization()->delete('KnpLabs', 123);
```

No content is returned.
No content is returned.