Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create authorization removed from docs #1090

Merged
merged 2 commits into from
Oct 25, 2022
Merged
Show file tree
Hide file tree
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
12 changes: 0 additions & 12 deletions doc/authorizations.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,6 @@ $authorizations = $github->api('authorizations')->all();
$authorization = $github->api('authorizations')->show(1);
```

#### Create an authorization

```php
$data = array(
'note' => 'This is an optional description'
);

$authorization = $github->api('authorizations')->create($data);
```

Creates and returns an authorization.

#### Update an authorization

You can update ``note``.
Expand Down
19 changes: 0 additions & 19 deletions doc/two_factor_authentication.md

This file was deleted.