We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88cd586 commit 38cdd9eCopy full SHA for 38cdd9e
README.md
@@ -191,6 +191,14 @@ Returns an array of team tokens.
191
192
#### Create a new team authentication token
193
```php
194
+// Create a new token with access to all packages
195
+$token = $client->tokens()->create([
196
+ 'description' => 'New Team Token',
197
+ 'access' => 'read',
198
+ 'accessToAllPackages' => true,
199
+]);
200
+
201
+// Create a new token with access to packages a team has access to
202
$token = $client->tokens()->create([
203
'description' => 'New Team Token',
204
'access' => 'read',
0 commit comments