Skip to content

Commit 7d6016c

Browse files
committed
Update docs
1 parent f88d3ee commit 7d6016c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
1010
> Create an installation access token for a GitHub app from your terminal
1111
12+
[![ghtoken size](https://img.shields.io/github/size/link-/github-app-bash/ghtoken?style=flat-square)](ghtoken) [![License](https://img.shields.io/github/license/link-/github-app-bash?style=flat-square)](LICENSE) ![platforms supported](https://img.shields.io/static/v1?style=flat-square&label=platform&message=macos%20%7C%20linux)
13+
1214
[Creates an installation access token](https://docs.github.com/en/rest/reference/apps#create-an-installation-access-token-for-an-app) that enables a GitHub App to make authenticated API requests for the app's installation on an organization or individual account. Installation tokens expire 1 hour from the time you create them. Using an expired token produces a status code of `401 - Unauthorized`, and requires creating a new installation token.
1315

1416
You can use this access token to make pretty much any REST or GraphQL API call the app is authorized to make!

images/ghtoken.png

-518 Bytes
Loading

0 commit comments

Comments
 (0)