Hello I am trying to update firstname and lastname of a user using endpoint:


via jwt token

and i am getting an error:

API call failed, reason 405 - "<!doctype html>\n<html xmlns:fb=“http://ogp.me/ns/fb#” lang=“en-US” >\n<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# zoomvideocall: http://ogp.me/ns/fb/…>

can anyone help?

and just to give more details:

this is how i call the API:

const uri = https://api.zoom.us/v2/users/${userId};
var options = {
uri: uri,
qs: {
status: ‘active’
method: ‘POST’,
auth: {
‘bearer’: token
body: {
headers: {
‘User-Agent’: ‘Zoom-api-Jwt-Request’,
‘content-type’: ‘application/json’
json: true //Parse the JSON string in the response

actually never mind, i forgot to change method from POST to GET. doh.

Hey @rabbit2345,

Aha! I’m glad you figured it out :slight_smile: