Scaleway logo
Commands

Documentation for `scw account`

The CLI documentation pages are currently under construction

The content is up to date. We're making improvements to the site over the next few weeks for a better experience.

This API allows you to manage your Scaleway Projects.

Project management commands

Project management commands.

Create a new Project for an Organization

Generate a new Project for an Organization, specifying its configuration including name and description.

Usage:

TerminalCode
scw account project create [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
nameName of the ProjectDefault: <generated>
descriptionDescription of the Project
organization-idOrganization ID to use. If none is passed the default organization ID will be used

Delete an existing Project

Delete an existing Project, specified by its Project ID. The Project needs to be empty (meaning there are no resources left in it) to be deleted effectively. Note that deleting a Project is permanent, and cannot be undone.

Usage:

TerminalCode
scw account project delete [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
project-idProject ID to use. If none is passed the default project ID will be used

Get an existing Project

Retrieve information about an existing Project, specified by its Project ID. Its full details, including ID, name and description, are returned in the response object.

Usage:

TerminalCode
scw account project get [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
project-idProject ID to use. If none is passed the default project ID will be used

List all Projects of an Organization

List all Projects of an Organization. The response will include the total number of Projects as well as their associated Organizations, names, and IDs. Other information includes the creation and update date of the Project.

Usage:

TerminalCode
scw account project list [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
nameName of the Project
order-bySort order of the returned ProjectsOne of: created_at_asc, created_at_desc, name_asc, name_desc
project-ids.{index}Project IDs to filter for. The results will be limited to any Projects with an ID in this array
organization-idOrganization ID to use. If none is passed the default organization ID will be used

List all resources across all zones

List all resources across all zones and products. Results are grouped by locality and product. Errors are aggregated and not fail-fast.

Usage:

TerminalCode
scw account project list-resources <project-id ...> [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
project-idFilter by project ID. If none is passed the default project ID will be usedDefault: ``
zones.{index}Filter by zones (comma-separated, e.g. fr-par-1,nl-ams-1). If empty, all zones are queried
products.{index}Filter by products (comma-separated, e.g. apple-silicon-server,baremetal-server,block-snapshot,block-volume,cockpit-data-source,cockpit-token,container-namespace,file-filesystem,fip-ip,function-namespace,inference-deployment,instance-ip,instance-security-group,instance-server,instance-snapshot,instance-volume,ipam-ip,k8s-cluster,keymanager-key,lb-lb,mongodb-instance,mongodb-snapshot,object-bucket,rdb-instance,redis-cluster,registry-namespace,s2s-vpn-vpn-gateway,searchdb-deployment,secret-secret,vpc-gw-gateway,vpc-gw-ip,vpc-vpc,webhosting-hosting). If empty, all products are queriedOne of: apple-silicon-server, baremetal-server, block-snapshot, block-volume, cockpit-data-source, cockpit-token, container-namespace, file-filesystem, fip-ip, function-namespace, inference-deployment, instance-ip, instance-security-group, instance-server, instance-snapshot, instance-volume, ipam-ip, k8s-cluster, keymanager-key, lb-lb, mongodb-instance, mongodb-snapshot, object-bucket, rdb-instance, redis-cluster, registry-namespace, s2s-vpn-vpn-gateway, searchdb-deployment, secret-secret, vpc-gw-gateway, vpc-gw-ip, vpc-vpc, webhosting-hosting

Update Project

Update the parameters of an existing Project, specified by its Project ID. These parameters include the name and description.

Usage:

TerminalCode
scw account project update [arg=value ...]

Arguments:

NameDescriptionArgument Specifications
project-idProject ID to use. If none is passed the default project ID will be used
nameName of the Project
descriptionDescription of the Project