admin
Superadmin and Admin operations: list resources across all users, batch delete, transfer resources between users, and manage organization settings and custom basemaps. list, batch-delete and transfer require Superadmin permissions. settings and basemaps require Admin permissions (the admin:account scope).
carto admin list <resource-type>
List all resources across the organization (not just yours).
carto admin list maps
carto admin list workflows
carto admin list connections
# With pagination and search
carto admin list maps --page-size 50
carto admin list connections --search snowflake
# Fetch every page
carto admin list maps --all
carto admin list workflows --allResource types: maps, workflows, connections.
Options:
--page <n>
Page number.
--page-size <n>
Items per page.
--search <term>
Search by name or description.
--all
Fetch all pages automatically.
carto admin batch-delete <json-body>
Delete multiple resources in a single call.
The command lists the resources and asks you to type delete to confirm. --yes skips the prompt, and so does --json.
carto admin transfer <json-body>
Transfer resources from one user to another.
carto admin settings get | apply | diff
Round-trip org-wide administrative settings (basemaps toggles, palettes, maps, connections, workflows, builder-gen-ai, carto-ai) as a single JSON bundle. The same shape that apply accepts is what get emits, so the three subcommands compose for moving settings between environments or capturing a snapshot for audit.
Subcommands:
settings get
Read the current org settings as a JSON bundle.
settings apply
Apply a bundle. Sections present in the bundle are PATCHed individually; sections absent from the bundle are left untouched.
settings diff
Preview what apply would change. Pure read-only — no writes.
Options:
--out <file>
(get only) Write the bundle to a file instead of stdout.
--file <path>
(apply and diff) Read the bundle from a file instead of the positional argument or stdin.
carto admin basemaps list | get | create | delete
Manage the organization's custom basemaps. These are separate from the basemaps section of admin settings, which only toggles which basemap categories users can see.
A basemap body needs a name, a type (raster, tilejson or wmts), settings.url, and a thumbnail image (a URL or data URI). attribution is optional.
create fails once the organization reaches its custom basemap quota. If custom basemaps are turned off in the org settings, the basemap is still created, but the CLI warns that users will not see it until an Admin turns them on.
Options:
--file <path>
(create only) Read the basemap body from a file.
--yes
(delete only) Skip the confirmation prompt.
Last updated
Was this helpful?
