Skip to main content
POST
/
organization
/
vcs
/
gitlab
/
credentials
Error
A valid request URL is required to generate request examples
{
  "message": "<string>",
  "base_url": "<string>"
}
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

fastapiusersauth
string
cookie
required

Body

application/json

Request to register or update GitLab token credentials.

token
string<password>
required
write-only

GitLab personal/project/group access token with api scope.

base_url
string
default:https://gitlab.com

Base URL for GitLab.com or a self-managed GitLab instance.

Response

Successful Response

Response after creating or updating GitLab token credentials.

message
string
required
action
enum<string>
required
Available options:
created,
updated
base_url
string
required