Deployments.ai Docs
Command reference

deployments login-domain

Email domains the organization proves it controls for single sign-on

CommandSummary
deployments login-domain listList login domains
deployments login-domain addAdd a login domain and print the DNS TXT record that verifies it
deployments login-domain verifyVerify a login domain once its DNS TXT record is published
deployments login-domain removeRemove a login domain

deployments login-domain list

List login domains.

deployments login-domain list
  • Calls GET /v1/login-domains (SDK listLoginDomains).
  • Needs an organization: --org or the saved context.
  • Paginated. --page-size sets the page size; pass the returned cursor as --cursor for the next page.
FlagTypeRequiredDefaultDescription
--cursorstring (cursor)Pagination cursor
--page-sizestring (number)Page size

Also accepts the global flags.

deployments login-domain add

Add a login domain and print the DNS TXT record that verifies it.

deployments login-domain add --domain <domain>
  • Calls POST /v1/login-domains (SDK addLoginDomain).
  • Needs an organization: --org or the saved context.
  • Sends an idempotency key. The CLI generates one per run; pass --idempotency-key to retry safely.
FlagTypeRequiredDefaultDescription
--domainstringyesDomain, such as example.com

Also accepts the global flags.

deployments login-domain verify

Verify a login domain once its DNS TXT record is published.

deployments login-domain verify <id>
  • Calls POST /v1/login-domains/{id}/verify (SDK verifyLoginDomain).
  • Needs an organization: --org or the saved context.
  • Sends an idempotency key. The CLI generates one per run; pass --idempotency-key to retry safely.
FlagTypeRequiredDefaultDescription
<id>positionalyesResource ID

Also accepts the global flags.

deployments login-domain remove

Remove a login domain.

deployments login-domain remove <id>
  • Calls DELETE /v1/login-domains/{id} (SDK removeLoginDomain).
  • Needs an organization: --org or the saved context.
  • Destructive. Live runs ask for confirmation; pass --yes in scripts or with --json.
  • Sends an idempotency key. The CLI generates one per run; pass --idempotency-key to retry safely.
FlagTypeRequiredDefaultDescription
<id>positionalyesResource ID

Also accepts the global flags.

On this page