Delete an app token
DELETE
/applications/{client_id}/token https://api.github.com
OAuth or GitHub application owners can revoke a single token for an OAuth application or a GitHub application with an OAuth authorization.
Parameters
path Path Parameters
| Name | Type |
|---|---|
client_id
required
The client ID of the GitHub app. | string |
Request Body
application/json
required
{ access_token: string; }
Responses
204
Response
unknown
Client Errors
422 application/json
Validation failed, or the endpoint has been spammed.
interface ValidationError {
message: string;
documentation_url: string;
errors?: {
resource?: string;
field?: string;
message?: string;
code: string;
index?: number;
value?: string[] | string | number | null;
}[];
}
message: string;
documentation_url: string;
errors?: {
resource?: string;
field?: string;
message?: string;
code: string;
index?: number;
value?: string[] | string | number | null;
}[];
}