When creating a Zoom user with a valid token in an organization, it returns an error No privilege

API Endpoint(s) and/or Zoom API Event(s)

curl --location ‘https://api.zoom.us/v2/users’ \ –header ‘Content-Type: application/json’ \ –header ‘Authorization: Bearer REDACTED’ \ –data-raw ‘{ “action”: “create”, “user_info”: { “email”: “jeremy.lam@swifteam.com”, “first_name”: “Jeremy”, “last_name”: “Lam”, “display_name”: “Jeremy Lam”, “type”: 1 } }’

Description
Details on your question, workflow or the problem you’re trying to solve.

When creating a Zoom user with a valid token in an organization, it returns an error No privilege

Error?
The full error message or issue you are running into, where applicable.

When creating a Zoom user with a valid token in an organization, it returns an error No privilege

Hi @angeloh

Please never share tokens publicly. I recommend revoking the token, regenerating your account credentials and access token. The error you’re referencing sounds related to role management. Please review this article for more help on ensuring the user querying has all the privileges needed:

Thanks!

Do you mean the account that did the Oauth needs to have admin permission on the role? The token I shared is from the Oauth token after the admin has authenticated through the Oauth.

To resolve the “No privilege” error when creating a Zoom user with a valid token, verify token permissions, check organization settings, validate user creation parameters, test with different credentials, and contact Zoom support if the issue persists.

How do we verify token permission?

@angeloh When you get a token, you should see the scopes in the response body which indicate token permissions (which endpoints the token can be used with:

OAuth: Postman

Server-to-Server OAuth: Postman

This topic was automatically closed 368 days after the last reply. New replies are no longer allowed.