# Projects

The projects of the organization: the namespace of its SVMs, snapshots, secrets, profiles and schedules

Source: https://slashinfra.com/docs/api-reference/control/projects
Last modified: 2026-11-30T16:36:19.000Z

The projects of the organization: the namespace of its SVMs, snapshots, secrets, profiles and schedules

Resource, request and plan limits are listed on [Limits](https://slashinfra.com/docs/reference/limits).

[Download OpenAPI specification](https://slashinfra.com/docs/control.openapi.json) · Version 0.1.0

[GETList projects](https://slashinfra.com/docs/api-reference/control/projects#getProjects)[POSTCreate a project](https://slashinfra.com/docs/api-reference/control/projects#postProjects)[DELETEDelete a project](https://slashinfra.com/docs/api-reference/control/projects#deleteProjectsByRef)[GETGet a project](https://slashinfra.com/docs/api-reference/control/projects#getProjectsByRef)[PATCHRename a project](https://slashinfra.com/docs/api-reference/control/projects#patchProjectsByRef)

### List projects

GET

/projects

Returns every project of the organization of the key, oldest first. A new organization lists exactly its `default` project.

#### Authorization

`apiKey`

header`Authorization``Bearer <token>`

An API key (`si_` and 43 base64url characters), sent as `Authorization: Bearer si_...`; see [Using the API](https://slashinfra.com/docs/reference/api).

#### Response Body

Every project of the organization, oldest first; every organization has `default`, so the list is never empty.

`application/json`

- response

- response
- …

Every project of the organization, oldest first; every organization has `default`, so the list is never empty.

`[index: integer]?`

One project of the organization.

Example Request

```
curl -X GET 'https://api.slashinfra.com/projects'
```

Example ResponseSchema

```
[  {    "created_ms": 1767225600000,    "id": "proj_6f1c0f0e8a",    "name": "staging"  }]
```

### Create a project

POST

/projects

Creates a project within the `max_projects` of the plan. A project namespaces its SVMs, snapshots, secrets, profiles and schedules: a name repeats across projects, and a reference of one cannot name a resource of another.

#### Authorization

`apiKey`

header`Authorization``Bearer <token>`

An API key (`si_` and 43 base64url characters), sent as `Authorization: Bearer si_...`; see [Using the API](https://slashinfra.com/docs/reference/api).

#### Request Body

The name of the new project.

- body

- body
- …

The name of the new project.

`name*`string

The project name, `^[a-z][a-z0-9-]{0,31}$`: lowercase letters, digits and hyphens, a letter first, and never shaped like an id.

#### Response Body

One project of the organization.

`application/json`

- response

- response
- …

One project of the organization.

`created_ms*`integer

The creation time in milliseconds since the Unix epoch.

`id*`string

The project id: `proj_` and ten symbols of the SVM id alphabet.

`name*`string

The name of the project, unique in its organization.

Example Request

```
curl -X POST 'https://api.slashinfra.com/projects' \  -H 'Content-Type: application/json' \  -d '{  "name": "staging"}'
```

Example ResponseSchema

```
{  "created_ms": 1767225600000,  "id": "proj_6f1c0f0e8a",  "name": "staging"}
```

### Delete a project

DELETE

/projects/{ref}

Deletes a project that holds no machines, snapshots, secrets, profiles or schedules, and cannot be undone. The `default` project cannot be deleted.

#### Authorization

`apiKey`

header`Authorization``Bearer <token>`

An API key (`si_` and 43 base64url characters), sent as `Authorization: Bearer si_...`; see [Using the API](https://slashinfra.com/docs/reference/api).

#### Path Parameters

`ref*`string

The project id (`proj_` and ten id symbols), or its name in the organization of the key.

Length`1 <= length`

#### Response Body

The project and its usage history are deleted; no body.

`response?`string`text/plain`

The project and its usage history are deleted; no body.

Example Request

```
curl -X DELETE 'https://api.slashinfra.com/projects/staging'
```

Example ResponseSchema

```
"string"
```

### Get a project

GET

/projects/{ref}

Returns one project of the caller's organization, by its id or by its name.

#### Authorization

`apiKey`

header`Authorization``Bearer <token>`

An API key (`si_` and 43 base64url characters), sent as `Authorization: Bearer si_...`; see [Using the API](https://slashinfra.com/docs/reference/api).

#### Path Parameters

`ref*`string

The project id (`proj_` and ten id symbols), or its name in the organization of the key.

Length`1 <= length`

#### Response Body

One project of the organization.

`application/json`

- response

- response
- …

One project of the organization.

`created_ms*`integer

The creation time in milliseconds since the Unix epoch.

`id*`string

The project id: `proj_` and ten symbols of the SVM id alphabet.

`name*`string

The name of the project, unique in its organization.

Example Request

```
curl -X GET 'https://api.slashinfra.com/projects/staging'
```

Example ResponseSchema

```
{  "created_ms": 1767225600000,  "id": "proj_6f1c0f0e8a",  "name": "staging"}
```

### Rename a project

PATCH

/projects/{ref}

Changes the name of a project; its id and resources stay the same. The `default` project cannot be renamed.

#### Authorization

`apiKey`

header`Authorization``Bearer <token>`

An API key (`si_` and 43 base64url characters), sent as `Authorization: Bearer si_...`; see [Using the API](https://slashinfra.com/docs/reference/api).

#### Path Parameters

`ref*`string

The project id (`proj_` and ten id symbols), or its name in the organization of the key.

Length`1 <= length`

#### Request Body

The new name of the project.

- body

- body
- …

The new name of the project.

`name*`string

The project name, `^[a-z][a-z0-9-]{0,31}$`: lowercase letters, digits and hyphens, a letter first, and never shaped like an id.

#### Response Body

One project of the organization.

`application/json`

- response

- response
- …

One project of the organization.

`created_ms*`integer

The creation time in milliseconds since the Unix epoch.

`id*`string

The project id: `proj_` and ten symbols of the SVM id alphabet.

`name*`string

The name of the project, unique in its organization.

Example Request

```
curl -X PATCH 'https://api.slashinfra.com/projects/staging' \  -H 'Content-Type: application/json' \  -d '{  "name": "staging"}'
```

Example ResponseSchema

```
{  "created_ms": 1767225600000,  "id": "proj_6f1c0f0e8a",  "name": "staging"}
```

Example Request

```
curl -X GET 'https://api.slashinfra.com/projects'
```

Example Request

```
curl -X POST 'https://api.slashinfra.com/projects' \
-H 'Content-Type: application/json' \
-d '{
"name": "staging"
}'
```

Example Request

```
curl -X DELETE 'https://api.slashinfra.com/projects/staging'
```

Example Request

```
curl -X GET 'https://api.slashinfra.com/projects/staging'
```

Example Request

```
curl -X PATCH 'https://api.slashinfra.com/projects/staging' \
-H 'Content-Type: application/json' \
-d '{
"name": "staging"
}'
```

```
[
{
"created_ms": 1767225600000,
"id": "proj_6f1c0f0e8a",
"name": "staging"
}
]
```

```
{
"created_ms": 1767225600000,
"id": "proj_6f1c0f0e8a",
"name": "staging"
}
```

```
"string"
```

```
{
"created_ms": 1767225600000,
"id": "proj_6f1c0f0e8a",
"name": "staging"
}
```

```
{
"created_ms": 1767225600000,
"id": "proj_6f1c0f0e8a",
"name": "staging"
}
```

GET

/projects

POST

/projects

DELETE

/projects/{ref}

GET

/projects/{ref}

PATCH

/projects/{ref}
