Skip to main content
PATCH
Update code providers

Authorizations

x-api-key
string
header
required

Path Parameters

providerId
string
required
Minimum string length: 1

Body

application/json
name
string

A new human-readable name for the connected code provider account.

Minimum string length: 1
base_url
string

A new base URL Agen should use for this code provider API.

Minimum string length: 1
metadata
object

Response

A code provider connection configured for a workspace.

A code provider connection configured for a workspace.

id
string
required
read-only

The unique identifier of the code provider connection inside Agen.

workspace_id
string
required
read-only

The workspace that owns this code provider connection.

user_id
string
required
read-only

The user who connected this code provider account.

platform
required
Available options:
gitlab
name
string
required

A human-readable name for the connected code provider account.

base_url
string
required

The base URL Agen should use to talk to the code hosting platform API.

metadata
object
required
created_at
string<date-time>
required
read-only

When the code provider connection was created in Agen.

updated_at
string<date-time>
required
read-only

When the code provider connection was last updated in Agen.