Is it possible to create User with API and JWT token?
I tried to send post request to the following endpoint: https://api.zoom.us/v2/users/
I used correct post body and jwt token.
Here is how my code looks like:
const response = await axios({
url: endpoint,
method: ‘post’,
data: {
action: ‘create’,
data: {
user_info: {
email: “[actual email]”,
type: 1,
first_name: “[name]”,
last_name: “[surname]”,
password: “password”
}
}
},
headers: {
Authorization: ‘Bearer [JWT TOKEN]’
}
})
The response I got is:
data: { code: 300, message: ‘Validation Failed.’, errors: [Array] } }
what does this response means? Does it means I MUST use oauth?