user create api error

I am currently working on a project in which I need to create user programatically through API.
The endpoint I am using:api/rest/2.0/users/create.
I am getting error while running above endpoint in postman.Details in below section.
header:

X-Requested-By:ThoughtSpot
Content-Type:application/x-www-form-urlencoded
Accept:application/json
Authorization: Bearer QxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxhWnow



request body:{
"name": "name6 tte",
"display_name": "test test",
"email": "test@gmial.clm",
"account_type": "LOCAL_USER",
"account_status": "ACTIVE",
"visibility": "SHARABLE",
"notify_on_share": true,
"show_onboarding_experience": true,
"onboarding_experience_completed": false,
"group_identifiers": [
"1a4xxxxxxxxxxxxxxxxx6f259"
]

}



Error:

{
"error": {
"message": {
"debug": "Variable "$name" of required type "String!" was not provided."
}
}
}
Was this page helpful?