Create a git token
Create a new git token to be used as a git provider by a service
Authorizations
JWT tokens should be used with OIDC account (human to machine). JWT tokens used by the Qovery console to communicate with the API have a TTL. Curl Example ' curl https://console.qovery.com/organization -H "Authorization: Bearer $qovery_token" '
Path Parameters
Organization ID
Body
BITBUCKET, GITHUB, GITLAB The token from your git provider side
Mandatory only for BITBUCKET git provider, to allow us to fetch repositories at creation/edition of a service
custom git api url for the given git provider/type. I.e: Self-hosted version of Gitlab
Response
Git token created
BITBUCKET, GITHUB, GITLAB The number of services using this git token
Mandatory only for BITBUCKET git provider