Skip to content

Commit 92e683a

Browse files
authored
Create authorization removed
Create authorization deprecated and removed in V3. KnpLabs@2fe12b8
1 parent 665ba27 commit 92e683a

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
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``.

0 commit comments

Comments
 (0)