Will cherry-pick api work between different repositories

I need to cherry-pick a commit from repository A to repository B
I wonder if cherry-pick api will work between two different repositories

some thing like below

curl --location --request POST ‘https://{{host}}/api/v4/projects/{{project-id-b}/repository/commits/{{branchB}}/cherry_pick’ \

–header ‘Private-Token: token’ \

–form ‘id=“project-id-a”’ \

–form ‘sha=“commitSHA”’ \

–form ‘branch=“branch-a”’

full docs here : Commits API | GitLab

Hello,
cherry-picking only works between branches of the same repository. In essence it is just referencing another commit and pulling it up. Between repositories, you’re supposed to exchange patches. But you can cheat git and add the second repository as another remote, this won’t work in gitlab, but at least git will now find the 2nd commit and try to apply it.