POST
/
api
/
v1
/
installations
/
create-bitbucket-oauth-installation
Create Bitbucket OAuth Installation (MSP)
curl --request POST \
  --url https://zeropath.com/api/v1/installations/create-bitbucket-oauth-installation \
  --header 'Content-Type: application/json' \
  --header 'X-ZeroPath-API-Token-Id: <api-key>' \
  --header 'X-ZeroPath-API-Token-Secret: <api-key>' \
  --data '{
  "accessToken": "<string>",
  "refreshToken": "<string>",
  "workspace": "<string>",
  "organizationId": "<string>",
  "bitbucketAppId": "<string>"
}'
{
  "id": "<string>"
}

Authorizations

X-ZeroPath-API-Token-Id
string
header
required
X-ZeroPath-API-Token-Secret
string
header
required

Body

application/json
accessToken
string
required
workspace
string
required
organizationId
string
required
bitbucketAppId
string
required
refreshToken
string

Response

Successful response

id
string