Sign Up

Organization management

Reference for the daytona audit, billing, invite, key, member, org, org-key, project, registry, role, secret, and service-account commands.

Commands

This page documents the following commands. Global flags that apply to every command are listed under daytona.

CommandDescription
daytona auditOrganization audit logs
daytona billingOrganization billing: usage, invoices, plans, and payment settings
daytona inviteOrganization invitations: create, list, revoke, show, accept, decline
daytona keyProject API keys: mint, list, revoke
daytona memberOrganization members: list, change roles, remove
daytona orgOrganizations: list, select, create, rename, delete, leave, limits
daytona org-keyOrganization API keys: mint, list, revoke
daytona projectProjects in the selected organization: list, select, create, rename, delete, budget
daytona registryProject registries: set, list, get, delete
daytona roleInspect the organization role catalog
daytona secretProject secrets: set, list, get, delete
daytona service-accountService accounts: create, list, get, update, delete

daytona audit

Organization audit logs

Commands

CommandDescription
daytona audit listList audit log entries

daytona audit list

List audit log entries

daytona audit list [flags]

Flags

LongShortTypeDefaultDescription
--actionstringfilter by action
--action-not-instringexclude comma-separated actions (not_in)
--actorstringfilter by actor user id or key id
--allboolfollow every page until exhausted
--cursorstringopaque continuation token
--end-atstringexclusive RFC3339 end of the time range
--limitint100max rows to return
--start-atstringinclusive RFC3339 start of the time range
--statusintfilter by HTTP status
--target-idstringfilter by target id
--target-typestringfilter by target type

daytona billing

Organization billing: usage, invoices, plans, and payment settings

Commands

CommandDescription
daytona billing automatic-top-upManage automatic top-up
daytona billing balance-notificationManage low-balance notifications
daytona billing balancesList billing balances
daytona billing chargesList billing charges
daytona billing contactBilling contact subcommands
daytona billing couponCoupon subcommands
daytona billing invoiceInvoice subcommands
daytona billing invoicesList billing invoices
daytona billing payment-method-sessionCreate a payment-method setup session
daytona billing payment-methodsList payment methods
daytona billing planBilling plan subcommands
daytona billing portal-sessionCreate a billing portal session
daytona billing profileRead billing profile
daytona billing top-upCreate a manual top-up session
daytona billing usageRead current priced usage
daytona billing usage-periodsList priced usage periods
daytona billing walletRead billing wallet

daytona billing automatic-top-up

Manage automatic top-up

Commands

CommandDescription
daytona billing automatic-top-up deleteDelete automatic top-up
daytona billing automatic-top-up getRead billing get
daytona billing automatic-top-up setSet automatic top-up

daytona billing automatic-top-up delete

Delete automatic top-up

Requires write:billing.

daytona billing automatic-top-up delete

daytona billing automatic-top-up get

Read billing get

Requires read:billing.

daytona billing automatic-top-up get

daytona billing automatic-top-up set

Set automatic top-up

Set automatic top-up using integer-cent thresholds. Requires write:billing.

daytona billing automatic-top-up set [flags]

Flags

LongShortTypeDefaultDescription
--target-centsintbalance in cents targeted by a top-up
--threshold-centsintbalance in cents that triggers a top-up

daytona billing balance-notification

Manage low-balance notifications

Commands

CommandDescription
daytona billing balance-notification deleteDelete the low-balance notification
daytona billing balance-notification getRead billing get
daytona billing balance-notification setSet the low-balance notification

daytona billing balance-notification delete

Delete the low-balance notification

Requires write:billing.

daytona billing balance-notification delete

daytona billing balance-notification get

Read billing get

Requires read:billing.

daytona billing balance-notification get

daytona billing balance-notification set

Set the low-balance notification

Set the low-balance notification using an integer-cent threshold. Requires write:billing.

daytona billing balance-notification set [flags]

Flags

LongShortTypeDefaultDescription
--threshold-centsintnotification threshold in integer cents

daytona billing balances

List billing balances

List itemized billing balances. Requires read:billing.

daytona billing balances [flags]

Flags

LongShortTypeDefaultDescription
--allboolfollow every page until exhausted
--cursorstringopaque continuation token
--limitint25max rows to return

daytona billing charges

List billing charges

List charge history. Requires read:billing.

daytona billing charges [flags]

Flags

LongShortTypeDefaultDescription
--allboolfollow every page until exhausted
--cursorstringopaque continuation token
--limitint25max rows to return

daytona billing contact

Billing contact subcommands

Commands

CommandDescription
daytona billing contact getRead billing get
daytona billing contact setSet or clear the billing contact

daytona billing contact get

Read billing get

Requires read:billing.

daytona billing contact get

daytona billing contact set

Set or clear the billing contact

Set or clear the billing contact email. Requires write:billing.

daytona billing contact set [flags]

Flags

LongShortTypeDefaultDescription
--clearboolrestore the default billing contact
--emailstringbilling contact email

daytona billing coupon

Coupon subcommands

Commands

CommandDescription
daytona billing coupon redeemRedeem a billing coupon

daytona billing coupon redeem

Redeem a billing coupon

Requires write:billing.

daytona billing coupon redeem <code>

daytona billing invoice

Invoice subcommands

Commands

CommandDescription
daytona billing invoice payment-sessionCreate a payment session for one invoice
daytona billing invoice pdfDownload one invoice PDF

daytona billing invoice payment-session

Create a payment session for one invoice

Create a hosted payment session for one invoice. Requires write:billing.

daytona billing invoice payment-session <id>

daytona billing invoice pdf

Download one invoice PDF

Requires read:billing.

daytona billing invoice pdf <id> [flags]

Flags

LongShortTypeDefaultDescription
--outstringwrite the PDF to a file instead of stdout

daytona billing invoices

List billing invoices

List invoice history. Requires read:billing.

daytona billing invoices [flags]

Flags

LongShortTypeDefaultDescription
--allboolfollow every page until exhausted
--cursorstringopaque continuation token
--limitint25max rows to return
--unpaidboolreturn only unpaid invoices

daytona billing payment-method-session

Create a payment-method setup session

Requires write:billing.

daytona billing payment-method-session [flags]

Flags

LongShortTypeDefaultDescription
--openboolopen the minted URL in your browser

daytona billing payment-methods

List payment methods

List saved payment methods. Requires read:billing.

daytona billing payment-methods [flags]

Flags

LongShortTypeDefaultDescription
--allboolfollow every page until exhausted
--cursorstringopaque continuation token
--limitint20max rows to return

daytona billing plan

Billing plan subcommands

Commands

CommandDescription
daytona billing plan getRead billing get
daytona billing plan listRead billing list
daytona billing plan setSet the billing plan

daytona billing plan get

Read billing get

Requires read:billing.

daytona billing plan get

daytona billing plan list

Read billing list

Requires read:billing.

daytona billing plan list

daytona billing plan set

Set the billing plan

Set the organization's billing plan. Requires write:billing.

daytona billing plan set <starter|team|enterprise>

daytona billing portal-session

Create a billing portal session

Requires write:billing.

daytona billing portal-session [flags]

Flags

LongShortTypeDefaultDescription
--openboolopen the minted URL in your browser

daytona billing profile

Read billing profile

Requires read:billing.

daytona billing profile

daytona billing top-up

Create a manual top-up session

Create a manual top-up checkout session. Amounts are integer cents. Requires write:billing.

daytona billing top-up [amount-cents] [flags]

Flags

LongShortTypeDefaultDescription
--amount-centsinttop-up amount in integer cents

daytona billing usage

Read current priced usage

Read the open billing usage period. Requires read:billing.

daytona billing usage

daytona billing usage-periods

List priced usage periods

List current and past priced usage periods. Requires read:billing.

daytona billing usage-periods [flags]

Flags

LongShortTypeDefaultDescription
--allboolfollow every page until exhausted
--cursorstringopaque continuation token
--limitint12max rows to return

daytona billing wallet

Read billing wallet

Requires read:billing.

daytona billing wallet

daytona invite

Organization invitations: create, list, revoke, show, accept, decline

daytona invite

Commands

CommandDescription
daytona invite acceptAccept an invitation by its token or invitation link
daytona invite createInvite someone to the selected organization
daytona invite declineDecline an invitation by its token or invitation link
daytona invite listList invitations for the selected organization
daytona invite revokeRevoke one pending or declined invitation
daytona invite showShow the invitation behind a token or invitation link

daytona invite accept

Accept an invitation by its token or invitation link

daytona invite accept <token|link>

daytona invite create

Invite someone to the selected organization

Invite someone to the selected organization by email. The invitee receives a link to accept the invitation; when the deployment sends no email, the link is printed instead.

daytona invite create <email> [flags]

Flags

LongShortTypeDefaultDescription
--rolestringcomma-separated role slugs

daytona invite decline

Decline an invitation by its token or invitation link

daytona invite decline <token|link>

daytona invite list

List invitations for the selected organization

daytona invite list

daytona invite revoke

Revoke one pending or declined invitation

daytona invite revoke <id>

daytona invite show

Show the invitation behind a token or invitation link

Show who invited you to which organization, with which roles, and until when — before accepting or declining. Takes the dtni_ token or the full link from the invitation email.

daytona invite show <token|link>

daytona key

Project API keys: mint, list, revoke

Commands

CommandDescription
daytona key listList project API keys
daytona key mintMint a project API key
daytona key revokeRevoke a project API key

daytona key list

List project API keys

daytona key list

daytona key mint

Mint a project API key

daytona key mint [flags]

Flags

LongShortTypeDefaultDescription
--expiresstringexpiry as a duration or RFC3339 timestamp
--namestringkey name
--permissionstringcomma-separated project permissions
--service-accountstringservice account id or name to mint this key for

daytona key revoke

Revoke a project API key

daytona key revoke <id>

daytona member

Organization members: list, change roles, remove

Commands

CommandDescription
daytona member listList members of the selected organization
daytona member removeRemove a member from the selected organization
daytona member updateReplace a member's roles

daytona member list

List members of the selected organization

daytona member list

Examples

daytona member list
daytona member list --org org-123

daytona member remove

Remove a member from the selected organization

daytona member remove <user> [flags]

Examples

daytona member remove user-123 --yes
daytona member remove user@example.com --preview

Flags

LongShortTypeDefaultDescription
--previewboolshow revoked API-key and preview-grant counts without removing the member

daytona member update

Replace a member's roles

daytona member update <user> [flags]

Examples

daytona member update user-123 --role admin
daytona member update user@example.com --role developer,auditor --dry-run

Flags

LongShortTypeDefaultDescription
--dry-runboolpreview the revocation count without committing the role change
--rolestringcomma-separated role slugs

daytona org

Organizations: list, select, create, rename, delete, leave, limits

Commands

CommandDescription
daytona org createCreate an organization
daytona org deleteDelete an organization (personal orgs cannot be deleted)
daytona org getShow one organization (default: the selected one)
daytona org leaveLeave an organization (revokes the API keys you minted in it)
daytona org limitsShow the organization's sandbox limits and current usage (default: the selected one)
daytona org listList the organizations you belong to
daytona org updateRename an organization
daytona org useSelect the organization for following commands

daytona org create

Create an organization

daytona org create <name>

daytona org delete

Delete an organization (personal orgs cannot be deleted)

daytona org delete <id|name>

daytona org get

Show one organization (default: the selected one)

daytona org get [id|name]

daytona org leave

Leave an organization (revokes the API keys you minted in it)

The CLI also forgets cached project keys and platform tokens for that organization. If it cannot list the org's projects during cleanup, it forgets the remembered project for that org and warns that other cached credentials may remain; run daytona logout to clear them all.

daytona org leave [id|name]

daytona org limits

Show the organization's sandbox limits and current usage (default: the selected one)

Show the effective limits of an organization and the current usage they are checked against; "unlimited" means no limit applies. A sandbox create, start, resume, fork or image build refused by one of them exits 6 with "LIMIT_EXCEEDED" naming the limit, the current count and the maximum. Requires read:organization, or read:limits with an API key. An API key reads its own organization when none is named, and its read leaves out the member counts.

daytona org limits [id|name]

daytona org list

List the organizations you belong to

daytona org list

daytona org update

Rename an organization

daytona org update <id|name> --name <new> [flags]

Flags

LongShortTypeDefaultDescription
--namestringnew name

daytona org use

Select the organization for following commands

Selects an organization and restores the project you last used in it (or its default project). Accepts an id or an unambiguous name; with no argument shows a picker at a terminal.

daytona org use [id|name]

daytona org-key

Organization API keys: mint, list, revoke

Commands

CommandDescription
daytona org-key listList organization API keys
daytona org-key mintMint an organization API key
daytona org-key revokeRevoke an organization API key

daytona org-key list

List organization API keys

daytona org-key list

daytona org-key mint

Mint an organization API key

daytona org-key mint [flags]

Flags

LongShortTypeDefaultDescription
--expiresstringexpiry as a duration or RFC3339 timestamp
--namestringkey name
--permissionstringcomma-separated organization permissions

daytona org-key revoke

Revoke an organization API key

daytona org-key revoke <id>

daytona project

Projects in the selected organization: list, select, create, rename, delete, budget

Commands

CommandDescription
daytona project budgetA project's monthly spend budget: get, set, remove
daytona project createCreate a project in the selected organization
daytona project deleteDelete a project (refused while it still holds resources)
daytona project getShow one project (default: the selected one)
daytona project listList the projects you can reach in the selected organization
daytona project memberProject membership: list, add, remove
daytona project service-accountProject service-account membership: list, add, remove
daytona project updateRename a project
daytona project useSelect the project for following commands (remembered per organization)

daytona project budget

A project's monthly spend budget: get, set, remove

A project's monthly spend budget caps its spend in each calendar month (UTC), at list price and before credits. When spend reaches the budget, new sandboxes in the project can't start, and after the organization's grace period running persistent sandboxes are stopped and running ephemeral sandboxes are deleted. Spend is evaluated periodically and can lag usage by several minutes.

Commands

CommandDescription
daytona project budget getShow the project's monthly budget and this month's spend (default: the selected project)
daytona project budget removeRemove the project's monthly budget (default: the selected project)
daytona project budget setSet or replace the project's monthly budget (default: the selected project)

daytona project budget get

Show the project's monthly budget and this month's spend (default: the selected project)

daytona project budget get [id|name]

daytona project budget remove

Remove the project's monthly budget (default: the selected project)

daytona project budget remove [id|name]

daytona project budget set

Set or replace the project's monthly budget (default: the selected project)

daytona project budget set [id|name] --monthly-usd <amount> [flags]

Examples

daytona project budget set --monthly-usd 500
daytona project budget set ml-training --monthly-usd 1250.50

Flags

LongShortTypeDefaultDescription
--monthly-usdstringmonthly budget in US dollars, at least 1.00 and at most two decimals (e.g. 500 or 499.99)

daytona project create

Create a project in the selected organization

daytona project create <name>

daytona project delete

Delete a project (refused while it still holds resources)

daytona project delete <id|name>

daytona project get

Show one project (default: the selected one)

daytona project get [id|name]

daytona project list

List the projects you can reach in the selected organization

daytona project list

daytona project member

Project membership: list, add, remove

Commands

CommandDescription
daytona project member addAdd one or more members to the selected project
daytona project member listList members who can access the selected project
daytona project member removeRemove one member from the selected project

daytona project member add

Add one or more members to the selected project

daytona project member add <user> [flags]

Flags

LongShortTypeDefaultDescription
--bulkstringcomma-separated user ids/emails/names to add in one request

daytona project member list

List members who can access the selected project

daytona project member list

daytona project member remove

Remove one member from the selected project

daytona project member remove <user>

daytona project service-account

Project service-account membership: list, add, remove

Commands

CommandDescription
daytona project service-account addSeat a service account in the selected project
daytona project service-account listList service accounts seated in the selected project
daytona project service-account removeUnseat a service account from the selected project

daytona project service-account add

Seat a service account in the selected project

daytona project service-account add <service-account>

daytona project service-account list

List service accounts seated in the selected project

daytona project service-account list

daytona project service-account remove

Unseat a service account from the selected project

daytona project service-account remove <service-account>

daytona project update

Rename a project

daytona project update <id|name> --name <new> [flags]

Flags

LongShortTypeDefaultDescription
--namestringnew name

daytona project use

Select the project for following commands (remembered per organization)

daytona project use [id|name]

daytona registry

Project registries: set, list, get, delete

Commands

CommandDescription
daytona registry deleteDelete a registry credential
daytona registry getShow one registry credential's metadata
daytona registry listList project registries (metadata only)
daytona registry setCreate or update a registry credential

daytona registry delete

Delete a registry credential

daytona registry delete <host>

daytona registry get

Show one registry credential's metadata

daytona registry get <host>

daytona registry list

List project registries (metadata only)

daytona registry list [flags]

Flags

LongShortTypeDefaultDescription
--allboolfollow every page until exhausted
--cursorstringopaque continuation token
--limitint100max rows to return

daytona registry set

Create or update a registry credential

daytona registry set <host> [flags]

Flags

LongShortTypeDefaultDescription
--descriptionstringregistry description (set to an empty string to clear it)
--kindstringbasicregistry auth kind (basic, ghcr, gcr, ecr, ecr_role; ecr_role takes the IAM role ARN as --username and no password)
--passwordstringregistry password or token on the command line — visible via the process list and shell history; prefer --password-stdin
--password-stdinboolread the password from stdin
--usernamestringregistry username

daytona role

Inspect the organization role catalog

Commands

CommandDescription
daytona role listList available roles

daytona role list

List available roles

daytona role list

daytona secret

Project secrets: set, list, get, delete

Commands

CommandDescription
daytona secret deleteDelete a project secret
daytona secret getShow one project's secret metadata
daytona secret listList project secrets (metadata only)
daytona secret setCreate or update a project secret

daytona secret delete

Delete a project secret

daytona secret delete <name>

daytona secret get

Show one project's secret metadata

daytona secret get <name>

daytona secret list

List project secrets (metadata only)

daytona secret list [flags]

Flags

LongShortTypeDefaultDescription
--allboolfollow every page until exhausted
--cursorstringopaque continuation token
--limitint100max rows to return

daytona secret set

Create or update a project secret

daytona secret set <name> [flags]

Flags

LongShortTypeDefaultDescription
--allowed-domainstringshosts where this secret's value may be sent (exact or *.wildcard), or '*' for any verified host; '*' lets the value reach any HTTPS host including one a compromised sandbox controls
--descriptionstringsecret description (set to an empty string to clear it)
--from-filestringread the secret value from a file; strips exactly one trailing newline (or CRLF)
--stdinboolread the secret value from stdin; strips exactly one trailing newline (or CRLF)
--valuestringsecret value on the command line — visible to other local users via the process list and shell history; prefer --stdin or --from-file

daytona service-account

Service accounts: create, list, get, update, delete

Commands

CommandDescription
daytona service-account createCreate a service account
daytona service-account deleteArchive a service account and revoke its live keys
daytona service-account getShow one service account
daytona service-account listList service accounts in the selected organization
daytona service-account updateUpdate a service account's name and/or roles

daytona service-account create

Create a service account

daytona service-account create <name> [flags]

Flags

LongShortTypeDefaultDescription
--rolestringcomma-separated role slugs

daytona service-account delete

Archive a service account and revoke its live keys

daytona service-account delete <id>

daytona service-account get

Show one service account

daytona service-account get <id>

daytona service-account list

List service accounts in the selected organization

daytona service-account list

daytona service-account update

Update a service account's name and/or roles

daytona service-account update <id> [flags]

Flags

LongShortTypeDefaultDescription
--namestringnew service-account name
--rolestringcomma-separated role slugs

On this page

Commandsdaytona auditdaytona audit listdaytona billingdaytona billing automatic-top-updaytona billing automatic-top-up deletedaytona billing automatic-top-up getdaytona billing automatic-top-up setdaytona billing balance-notificationdaytona billing balance-notification deletedaytona billing balance-notification getdaytona billing balance-notification setdaytona billing balancesdaytona billing chargesdaytona billing contactdaytona billing contact getdaytona billing contact setdaytona billing coupondaytona billing coupon redeemdaytona billing invoicedaytona billing invoice payment-sessiondaytona billing invoice pdfdaytona billing invoicesdaytona billing payment-method-sessiondaytona billing payment-methodsdaytona billing plandaytona billing plan getdaytona billing plan listdaytona billing plan setdaytona billing portal-sessiondaytona billing profiledaytona billing top-updaytona billing usagedaytona billing usage-periodsdaytona billing walletdaytona invitedaytona invite acceptdaytona invite createdaytona invite declinedaytona invite listdaytona invite revokedaytona invite showdaytona keydaytona key listdaytona key mintdaytona key revokedaytona memberdaytona member listdaytona member removedaytona member updatedaytona orgdaytona org createdaytona org deletedaytona org getdaytona org leavedaytona org limitsdaytona org listdaytona org updatedaytona org usedaytona org-keydaytona org-key listdaytona org-key mintdaytona org-key revokedaytona projectdaytona project budgetdaytona project budget getdaytona project budget removedaytona project budget setdaytona project createdaytona project deletedaytona project getdaytona project listdaytona project memberdaytona project member adddaytona project member listdaytona project member removedaytona project service-accountdaytona project service-account adddaytona project service-account listdaytona project service-account removedaytona project updatedaytona project usedaytona registrydaytona registry deletedaytona registry getdaytona registry listdaytona registry setdaytona roledaytona role listdaytona secretdaytona secret deletedaytona secret getdaytona secret listdaytona secret setdaytona service-accountdaytona service-account createdaytona service-account deletedaytona service-account getdaytona service-account listdaytona service-account update