Github API - Test Config

PATCH /applications/{client_id}/token
apps

OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the "token" property in the response because changes take effect immediately. You must use Basic Authentication when accessing this endpoint, using the OAuth application's client_id and client_secret as the username and password. Invalid tokens will return 404 NOT FOUND.
Reset a token

Arguments
key client-id

client-id [scalar]

The client ID of the GitHub app.

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json authorization

authorization [object]

The authorization for an OAuth app, GitHub App, or a Personal Access Token.

Attributes
app 1918

created_at string

expires_at string

fingerprint string

hashed_token string

id integer

note string

note_url string

scopes string []

token string

token_last_eight string

updated_at string

url string

API:
Github Open API
(version: 1.1.4)
422 validation_failed

validation_failed [scalar]

Validation failed, or the endpoint has been spammed.

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)