ListDrivesRequest
June 9, 2026 ยท View on GitHub
Example Usage
import { ListDrivesRequest } from "@vercel/sdk/models/listdrivesop.js";
let value: ListDrivesRequest = {
projectId: "prj_abc123",
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
slug: "my-team-url-slug",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
projectId | string | :heavy_minus_sign: | The project ID or name associated with the drives. Required unless using a Vercel OIDC token scoped to a project. | prj_abc123 |
limit | number | :heavy_minus_sign: | Maximum number of drives to return in the response. Used for pagination. | 20 |
cursor | string | :heavy_minus_sign: | Opaque pagination cursor from a previous response. | |
sortBy | models.ListDrivesQueryParamSortBy | :heavy_minus_sign: | Field to sort drives by. | |
namePrefix | string | :heavy_minus_sign: | Filter drives whose name starts with this prefix. Only valid when sortBy=name. | |
sortOrder | models.ListDrivesQueryParamSortOrder | :heavy_minus_sign: | Sort direction for results. | |
teamId | string | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l |
slug | string | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug |