Skip to main content
POST
/
api
/
internal
/
git
/
credential
cURL
curl --request POST \
  --url https://api.kazzle.app/api/internal/git/credential \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "spaceId": "<string>",
  "host": "<string>",
  "protocol": "<string>"
}
'
{
  "username": "<string>",
  "password": "<string>"
}

Authorizations

Authorization
string
header
required

Better Auth JWT token

Body

application/json
spaceId
string
required
host
string
required
protocol
string

Response

200 - application/json

Successful response

username
string
required
password
string
required