I am trying to clone a bitbucket server repo (self-hosted) using access-token however I could not find any documentation on Bitbucket server API. My clone url is ssh based.
Or is there a way to use REST API curl command to clone bitbucket server repos?