v1

latestOpenAPI 3.0.32026-07-17136180270.3 KB
Credentials

Exchange GitHub OAuth code

Exchange GitHub OAuth code. Accepts a JSON request body when defined and returns the resulting resource or action status.

post/api/projects/{projectId}/credentials/github-git/exchange

Path parameters

projectIdstring required

Project identifier used to scope the request.

Request body

codestring required

OAuth authorization code.

redirectUristring

OAuth redirect URI.

verifierstring required

PKCE verifier used by OAuth code exchange.

enterpriseUrlstring

enterprise Url value for the git Hub Exchange Request object.

credentialIdstring

Credential identifier.

namestring

Human-readable name.

descriptionstring

Optional human-readable description.

inactiveboolean nullable

inactive value for the git Hub Exchange Request object.

Response

Exchange result

successboolean required

Whether the requested action succeeded.

errorstring

Error message when the operation failed.