git-integration
Git Integration

Update Git Provider

Update a git provider.

Args: provider_id: Provider public ID (UUID) provider_data: Provider update data ctx: Application context with session, user, and company info

Returns: StandardResponse with success message

patch/api/v1/git-providers/{provider_id}

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/api/v1/git-providers/{provider_id}
  • Auth: none declared

Path parameters

provider_idstring required

Headers

Authorizationstring

Request body

base_urlstring uri nullable

Base URL for git provider

is_activeboolean nullable

Whether provider is active

oauth_client_idstring nullable

OAuth app client ID (user-provided, e.g., GitHub OAuth app)

oauth_client_secretstring nullable

OAuth app client secret (user-provided)

oauth_scopesstring[] nullable

OAuth scopes to request (e.g., ['repo', 'read:user'] for GitHub)

Response

Successful Response

successboolean required
dataunknown
messagestring nullable
errorstring nullable
metaobject nullable

Changes

No recorded changes to this operation across all 1 revision of this API.