Update Git configuration
Update the Git configuration for a shared model, or a shared extension model in the Develop independently branch workflow. Only provided fields will be updated.
Authorizations
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Path Parameters
Body
The git provider type. Use auto for automatic detection based on the SSH URL.
auto- Automatically detect the providergithub- GitHubgitlab- GitLabazure_devops- Azure DevOpsbitbucket- Bitbucket Cloudbitbucket_datacenter- Bitbucket Data Center (self-hosted)
auto, github, gitlab, azure_devops, bitbucket, bitbucket_datacenter "github"
Controls when pull requests are required for changes:
always- Pull requests are required for all changesusers-only- Pull requests are required only for user-initiated changesnever- Pull requests are never required
always, users-only, never "users-only"
Applicable to SSH authentication. Supply your own RSA or ED25519 private key in PEM format (OpenSSH, PKCS#1, or PKCS#8) instead of using an Omni-generated keypair. Authorize the matching public key with your first, then set it here. The new key takes effect on the next git operation.
"-----BEGIN OPENSSH PRIVATE KEY-----\n..."
Response
Git configuration updated successfully

