Documentation for scw account

May 17, 2024 ยท View on GitHub

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:

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

Args:

NameDescription
nameDefault: <generated>Name of the Project
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:

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

Args:

NameDescription
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:

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

Args:

NameDescription
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:

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

Args:

NameDescription
nameName of the Project
order-byOne of: created_at_asc, created_at_desc, name_asc, name_descSort order of the returned Projects
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

Update Project

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

Usage:

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

Args:

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