provider 1190 operations 47 docs pages
@utdk/github
GitHub v3 REST API
Generated UTDK provider client for GitHub v3 REST API. GitHub's v3 REST API.
Credentials
Optional generated docs page for
@utdk/github.
Credentials
Use these operations through the generated client (not direct HTTP calls).
Import path: @utdk/github
Operations
github.credentials.revoke
- HTTP:
POST /credentials/revoke - What it does: Revoke a list of credentials
- OpenAPI operationId:
credentials/revoke - Path params: None
- Query params: None
- Response codes:
202,422,500 - Transport options: None
- Source: OpenAPI reference
- TypeScript: Client interface
Inputs
- Client input type:
{ credentials: (string)[] } - Client transport options: None
Outputs
- Client return type:
unknown - OpenAPI response codes:
202,422,500
import github from "@utdk/github";
type CredentialsRevokeInput = Parameters<typeof github.credentials.revoke> extends [infer T, ...unknown[]] ? T : undefined;
type CredentialsRevokeOutput = Awaited<ReturnType<typeof github.credentials.revoke>>;
const input: CredentialsRevokeInput = {} as { credentials: (string)[] };
const result: CredentialsRevokeOutput = await github.credentials.revoke(input);
// Result shape (from schema): unknown