How copy one domain couchbase document to another domain couchbase


#1

I have two domain “abc.com” and “xyz.com”.Both are having couchbase Enterprise Edition 5.5.2
I want to copy some document from first domain to second domain.
Is there any N1QL query or any REST api are there to copy document.