Skip to content

Commit 28029f2

Browse files
authored
minor KnpLabs#1090 Create authorization removed from docs (rafasashi)
This PR was squashed before being merged into the 3.9.x-dev branch. Discussion ---------- Create authorization deprecated and removed in V3 ([2fe12b8](KnpLabs@2fe12b8)) Commits ------- 92e683a Create authorization removed cbac8bf Delete two_factor_authentication.md
1 parent 665ba27 commit 28029f2

File tree

2 files changed

+0
-31
lines changed

2 files changed

+0
-31
lines changed

doc/authorizations.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,6 @@ $authorizations = $github->api('authorizations')->all();
1515
$authorization = $github->api('authorizations')->show(1);
1616
```
1717

18-
#### Create an authorization
19-
20-
```php
21-
$data = array(
22-
'note' => 'This is an optional description'
23-
);
24-
25-
$authorization = $github->api('authorizations')->create($data);
26-
```
27-
28-
Creates and returns an authorization.
29-
3018
#### Update an authorization
3119

3220
You can update ``note``.

doc/two_factor_authentication.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)