Skip to main content
PATCH
/
settings
/
git
Update Git Settings
curl --request PATCH \
  --url https://api.example.com/settings/git \
  --header 'Content-Type: application/json' \
  --cookie fastapiusersauth= \
  --data '
{
  "git_allowed_domains": [
    "<string>"
  ],
  "git_repo_url": "<string>",
  "git_repo_package_name": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

fastapiusersauth
string
cookie
required

Body

application/json
git_allowed_domains
string[]

Allowed git domains for authentication.

git_repo_url
string | null
git_repo_package_name
string | null

Response

Successful Response