403 error while making create schedule api call

$.ajax({
url:url1 ,//https://api.zoom.us/v2/users/example@gmail.com/meetings"
type: “POST”,
data:JSON.stringify(datainfo),
username: "example@gmail.com",
dataType: “json”,
beforeSend: function (xhr) { xhr.setRequestHeader(‘Authorization’, “Bearer token”);
xhr.setRequestHeader(“Content-Type”,“application/json”)
},
success: function (reponse) {
//save data into a variable
console.log(reponse)
}
});

});

Here is my post call

Duplicate of Create schedule meeting getting : 403 forbidden error and in response: Invalid CORS request

I will be following this here