cURL
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>" }
Successful response