v1

latestOpenAPI 3.0.32026-07-17136180270.3 KB
Credentials

Poll GitHub device flow

Poll GitHub device flow. Accepts a JSON request body when defined and returns the resulting resource or action status.

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

Path parameters

projectIdstring required

Project identifier used to scope the request.

Request body

deviceCodestring required

device Code value for the git Hub Poll Request object.

domainstring required

domain value for the git Hub Poll Request object.

credentialIdstring

Credential identifier.

namestring

Human-readable name.

descriptionstring

Optional human-readable description.

inactiveboolean nullable

inactive value for the git Hub Poll Request object.

Response

Poll result

successboolean required

Whether the requested action succeeded.

errorstring

Error message when the operation failed.