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
--trace-ttl-days is optional, from 1 to 365.
Change a workspace or project
{ "trace_ttl_days": null } with --from-file. A name already in use exits 1.
Delete a workspace or project
--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.