Skip to main content
These commands act on your account, so they need a browser login or TRACEROOT_TOKEN, not a project API key, and your role decides what you can change.

List workspaces and projects

--workspace-id is optional. Without it, projects list shows every project you can access.

Create a workspace or project

You administer a workspace you create. Creating a project takes MEMBER or higher. Either command returns the existing one if the name is already yours: a workspace you administer, or a project in that workspace. --trace-ttl-days is optional, from 1 to 365.

Change a workspace or project

Both take ADMIN. To return a project’s retention to the plan default, send { "trace_ttl_days": null } with --from-file. A name already in use exits 1.

Delete a workspace or project

Both take ADMIN and a --reason. Deleting a project removes it from every list and read, and its API keys stop working. Its data stays for the retention window. workspaces delete also needs --name, set to the workspace’s current name as confirmation. It permanently deletes the workspace with its projects, their API keys, its memberships, and its invites. Your only workspace can’t be deleted. A wrong name or your only workspace exits 1.