vcs
organization
vcs
gitlab
organization

Save Gitlab Token Credentials

Save GitLab token credentials (create if new or update existing).

post/organization/vcs/gitlab/credentials

Request

  • Base URL
    https://platform.tracecat.com/api
  • Auth
    • API key in cookie fastapiusersauth
    • or HTTP bearer

Request body

base_urlstring

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

tokenstring password required

GitLab access token with api scope. Project and group tokens also require write_repository for Git sync pushes.

Response

Successful Response

messagestring required
action'created' | 'updated' required
base_urlstring required

Changes

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