How set user while creating entry with post request. in strapi

System Information

  • Strapi Version: v4.1.8
  • Operating System: ubuntu 20
  • Database: PostgreSQL
  • Node Version: v14.19.3
  • NPM Version: 6.14.17

I want to create a entry to my Collection Type: page , so I am sending POST request to : http://localhost:1337/api/pages
with body:

{
    "data":
    {
        "Slug":"some data...",
        "createdBy":1
    }
}

i am passing the id of user who is creating the entry , but it is not reflecting in content manager,
can somebody tell me the correct way to do it.

I’m looking for information regarding the same question. I’ll post my findings here.