Proper syntax to pull repo from Bitbucket with API token

Atlassian deprecated ability to pull repos with use of a password.

I use Linux Ubuntu VPS at Linode. I am unable to figure out the proper format of the pull command. Please help.

I triad over 20 variations of the syntax, but to no effect.

Theoretically, this one should work: Please take a look at my stackoverflow question.
Source - https://stackoverflow.com/q/79954842

git pull https://x-token-auth:<APItoken>@bitbucket.org:443/<repoownerpublicname>/<reponame>.git

Thank you in advance.

Hi @UnrulyNatives , the correct syntax is

git pull https://x-bitbucket-api-token-auth:<API_TOKEN>@bitbucket.org/<workspace>/<repository>.git

See official docs here Using API tokens | Bitbucket Cloud | Atlassian Support

Thank you.

I strongly recommend that this info be announced in your notice disseminated to users like me.
Also, some of us might lose extra time by generating the regular API token, and not the one with scopes.

Thank you again.