Check whether a user is the last admin
One step with Harness. We can help you get access.
Look something up
Check whether a user is the last admin
with Harness
Works with AI assistants
Use Harness: its Harness User API lets you check whether a user is the last admin in a single step (GET /ng/api/user/last-admin). Harness also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- Is this user the only admin left in the account?
- Would removing someone leave a project with no administrator?
Say it to your AI assistant
- Check whether user {userId} is the last admin in my account.
- Tell me if {userId} is the only remaining admin of project {projectIdentifier}.
For your developer
GET /ng/api/user/last-admin in Harness User API. Full spec on APIs.io.