API delete user from Userman

When an extension is created via the API (gql) it also creates a user in user manager, I can delete the extension via gql but it doesn’t delete the created user manager user, I can’t seem to find any gql or rest api to delete users, I can via the rest API view the users.

Does anyone have any ideas?

No way to do it systematically, unless you are hooked up to an AD, I think. You could submit a bug report/feature request.

Issues · FreePBX/issue-tracker · GitHub

Another option might be to modify the MySQL table directly, but that might break things. You would need to test.