Skip to content

Add domain alias commands #1895

Open
pvagare-ks wants to merge 4 commits intoKC-539from
KC-539-int
Open

Add domain alias commands #1895
pvagare-ks wants to merge 4 commits intoKC-539from
KC-539-int

Conversation

@pvagare-ks
Copy link
Copy Markdown
Contributor

@pvagare-ks pvagare-ks commented Mar 25, 2026

KC-539 Add domain alias management commands

Summary

Adds domain alias sub-command group with list, create and delete operations for enterprise domain alias management.
New commands:

  • domain alias list (dal) — List all domain aliases
  • domain alias create (dac) — Create alias(es) for an owned domain
  • domain alias delete (dad) — Delete alias(es) with confirmation or --force

Notes

  • Requires admin with "Manage Users" permission
  • API endpoints: enterprise/get_domain_alias, enterprise/create_domain_alias, enterprise/delete_domain_alias

@pvagare-ks pvagare-ks self-assigned this Mar 25, 2026
raise


class DomainAliasCommand(EnterpriseCommand):
Copy link
Copy Markdown

@sali-ks sali-ks Mar 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we refactor to new py like domain_alias_commands for all three Get, Create and Delete

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@pvagare-ks pvagare-ks requested a review from sali-ks March 26, 2026 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants