API endpoint does not exist

Description

I’m building some webhook integrations with Ghost CMS and I’m able to create a user in Rocketchat during their signup in Ghost. I’m trying to put together the request to delete the user if they remove themselves from my Ghost site but the following API endpoints say they do not exist.

/api/v1/users.list
/api/v1/users.info

I also cannot use the username field in the following endpoint.

/api/v1/users.delete

Server Setup Information

  • Version of Rocket.Chat Server:
  • Operating System: Ubuntu 20.04
  • Deployment Method: digitalocean one-click
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: 14.18.3
  • MongoDB Version: 5.0.6
  • Proxy: None
  • Firewalls involved: UFW

Any additional Information

Found my error. I was using a POST method instead of a GET method.

Hi @john.seabourn !

Thanks for sharing. Please, consider joining our Community Support Channel in our Open Server