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.
- CLI
- API
Use the fluidctl projects create
command to create a new project. For example:
fluidctl projects create --name project-1
--name
: The name of the project.
To create a project via the REST API, send a POST
request to the /projects
endpoint:
POST /projects HTTP/1.1
Host: <your-cluster-url>
Authorization: Bearer <your-auth-token>
Content-Type: application/json
{
"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.
- CLI
- API
Use the fluidctl projects delete
command to delete a project. For example:
fluidctl projects delete --id <uuid>
--id
: The ID of the project to delete.
To delete a project via the REST API, send a DELETE
request to the /projects/{id}
endpoint:
DELETE /projects/<uuid> HTTP/1.1
Host: <your-cluster-url>
Authorization: Bearer <your-auth-token>