How to delete PG user when they have no ADMIN OWNER

Brenwell 0 Reputation points
2025-03-27T12:02:48.1233333+00:00

I have a Azure Flexible Postgres Server and I have a user I want to delete. However I am not the superuser because that is Azure itself. I am a member of the azure_pg_admin group. But for some unknow reason the user has no ADMIN OWNER

How could I possibly delete them?

Query 1 ERROR at Line 1: : ERROR:  permission denied to drop role

DETAIL:  Only roles with the CREATEROLE attribute and the ADMIN option on role "user" may drop this role.

Azure Database for PostgreSQL
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.