Not sure if JWT tokens are allowed to create users in my account

Description
API responds with code 200 No privilege to a request following the Manage Users guide to create a user.

Error
code: 200, message: “No privilege.”

Which App Type (OAuth / Chatbot / JWT / Webhook)?
JWT

Which Endpoint/s?
https://api.zoom.us/v2/users

Additional context
Not sure if this is a limitation for free accounts? Other requests like getting a user work fine. Here is the current PHP curl request. Seems to make no difference if the token is sent in the URL or as a header.
curl_setopt_array($curl, array(
CURLOPT_URL => $url,
CURLOPT_POSTFIELDS => $json_request,
CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => “”, CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => “POST”,
CURLOPT_HTTPHEADER => array(
"authorization: Bearer ".$jwt,
“content-type: application/json”,
),
));

You need a pro or higher account.

1 Like

Hey @ricardo.tavares,

Yes, @dethnoble is correct! To create users you need at least a Pro Plan.

Thanks,
Tommy

1 Like