Manage Projects
This guide provides an overview of how to create and delete projects.
Create a Project
The region must support the projects:create
capability in order to create a project.
- API
- CLI
To create a project via the REST API, send a POST
request to the /projects
endpoint:
POST /projects HTTP/1.1
Host: <region>.atlas.fluidstack.io
Authorization: Bearer <token>
Content-Type: application/json
{
"name": "project-1"
}
Use the fluidctl projects create
command to create a project:
fluidctl projects create --region <region> --name "project-1"
Delete a Project
The region must support the projects:delete
capability in order to delete a project.
caution
Deleting a project is irreversible. Any associated resources will also be deleted. Ensure you back up any important data before proceeding.
- API
- CLI
To delete a project via the REST API, send a DELETE
request to the /projects/{id}
endpoint:
DELETE /projects/<uuid> HTTP/1.1
Host: <region>.atlas.fluidstack.io
Authorization: Bearer <token>
Use the fluidctl projects delete
command to delete a project:
fluidctl projects delete --region <region> --id <uuid>