Skip to content

Commit

Permalink
minor #1090 Create authorization removed from docs (rafasashi)
Browse files Browse the repository at this point in the history
This PR was squashed before being merged into the 3.9.x-dev branch.

Discussion
----------

Create authorization deprecated and removed in V3 ([2fe12b8](2fe12b8))

Commits
-------

92e683a Create authorization removed
cbac8bf Delete two_factor_authentication.md
  • Loading branch information
rafasashi authored Oct 25, 2022
1 parent 665ba27 commit 28029f2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 31 deletions.
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.

0 comments on commit 28029f2

Please sign in to comment.