
Delete Named Storages
No credit card required

Delete Named Storages
No credit card required
Deletes your named storages by matching their names with a RegExp, selecting a date, or more. Enables deleting multiple named storages fast and safe using a UI rather than API.
You can access the Delete Named Storages programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1{
2 "openapi": "3.0.1",
3 "info": {
4 "version": "1.0",
5 "x-build-id": "gPRXYW6njkpY7knAG"
6 },
7 "servers": [
8 {
9 "url": "https://api.apify.com/v2"
10 }
11 ],
12 "paths": {
13 "/acts/mnmkng~delete-named-storages/run-sync-get-dataset-items": {
14 "post": {
15 "operationId": "run-sync-get-dataset-items-mnmkng-delete-named-storages",
16 "x-openai-isConsequential": false,
17 "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18 "tags": [
19 "Run Actor"
20 ],
21 "requestBody": {
22 "required": true,
23 "content": {
24 "application/json": {
25 "schema": {
26 "$ref": "#/components/schemas/inputSchema"
27 }
28 }
29 }
30 },
31 "parameters": [
32 {
33 "name": "token",
34 "in": "query",
35 "required": true,
36 "schema": {
37 "type": "string"
38 },
39 "description": "Enter your Apify token here"
40 }
41 ],
42 "responses": {
43 "200": {
44 "description": "OK"
45 }
46 }
47 }
48 },
49 "/acts/mnmkng~delete-named-storages/runs": {
50 "post": {
51 "operationId": "runs-sync-mnmkng-delete-named-storages",
52 "x-openai-isConsequential": false,
53 "summary": "Executes an Actor and returns information about the initiated run in response.",
54 "tags": [
55 "Run Actor"
56 ],
57 "requestBody": {
58 "required": true,
59 "content": {
60 "application/json": {
61 "schema": {
62 "$ref": "#/components/schemas/inputSchema"
63 }
64 }
65 }
66 },
67 "parameters": [
68 {
69 "name": "token",
70 "in": "query",
71 "required": true,
72 "schema": {
73 "type": "string"
74 },
75 "description": "Enter your Apify token here"
76 }
77 ],
78 "responses": {
79 "200": {
80 "description": "OK",
81 "content": {
82 "application/json": {
83 "schema": {
84 "$ref": "#/components/schemas/runsResponseSchema"
85 }
86 }
87 }
88 }
89 }
90 }
91 },
92 "/acts/mnmkng~delete-named-storages/run-sync": {
93 "post": {
94 "operationId": "run-sync-mnmkng-delete-named-storages",
95 "x-openai-isConsequential": false,
96 "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97 "tags": [
98 "Run Actor"
99 ],
100 "requestBody": {
101 "required": true,
102 "content": {
103 "application/json": {
104 "schema": {
105 "$ref": "#/components/schemas/inputSchema"
106 }
107 }
108 }
109 },
110 "parameters": [
111 {
112 "name": "token",
113 "in": "query",
114 "required": true,
115 "schema": {
116 "type": "string"
117 },
118 "description": "Enter your Apify token here"
119 }
120 ],
121 "responses": {
122 "200": {
123 "description": "OK"
124 }
125 }
126 }
127 }
128 },
129 "components": {
130 "schemas": {
131 "inputSchema": {
132 "type": "object",
133 "required": [
134 "storageType",
135 "matchingExpression"
136 ],
137 "properties": {
138 "storageType": {
139 "title": "Storage type",
140 "enum": [
141 "DATASET",
142 "KEY_VALUE_STORE",
143 "REQUEST_QUEUE"
144 ],
145 "type": "string",
146 "description": "Type of the storages you want to delete."
147 },
148 "matchingExpression": {
149 "title": "Matching expression",
150 "minLength": 1,
151 "type": "string",
152 "description": "A regular expression in a string format used to match the names of storages to be deleted. It will be used to create an instance of <code>RegExp</code> using <code>new RegExp(expression)</code> All storages matching the pattern will be deleted unless other filters are provided."
153 },
154 "createdAt": {
155 "title": "Storage creation date",
156 "type": "string",
157 "description": "Use YYYY-MM-DD format. The option limits the deleted storages to the ones created on the provided date. If you want to delete all storages from a given date, use '.*' as your Matching expression."
158 },
159 "maxDeletedStorages": {
160 "title": "Max deleted storages",
161 "type": "integer",
162 "description": "Limit the number of deleted storages to the given amount."
163 },
164 "newestFirst": {
165 "title": "Newest first",
166 "type": "boolean",
167 "description": "Sort storages from newest to oldest. In combination with the Max storages to delete option, this enables to \"delete 5 newest storages\" and similar commands."
168 },
169 "forceDelete": {
170 "title": "Force delete",
171 "type": "boolean",
172 "description": "If you are REALLY AND ABSOLUTELY sure that your filters will delete exactly the storages you need then you can use this flag to delete them immediately without the need for confirmation by a second run of the actor. Tread carefully!",
173 "default": false
174 }
175 }
176 },
177 "runsResponseSchema": {
178 "type": "object",
179 "properties": {
180 "data": {
181 "type": "object",
182 "properties": {
183 "id": {
184 "type": "string"
185 },
186 "actId": {
187 "type": "string"
188 },
189 "userId": {
190 "type": "string"
191 },
192 "startedAt": {
193 "type": "string",
194 "format": "date-time",
195 "example": "2025-01-08T00:00:00.000Z"
196 },
197 "finishedAt": {
198 "type": "string",
199 "format": "date-time",
200 "example": "2025-01-08T00:00:00.000Z"
201 },
202 "status": {
203 "type": "string",
204 "example": "READY"
205 },
206 "meta": {
207 "type": "object",
208 "properties": {
209 "origin": {
210 "type": "string",
211 "example": "API"
212 },
213 "userAgent": {
214 "type": "string"
215 }
216 }
217 },
218 "stats": {
219 "type": "object",
220 "properties": {
221 "inputBodyLen": {
222 "type": "integer",
223 "example": 2000
224 },
225 "rebootCount": {
226 "type": "integer",
227 "example": 0
228 },
229 "restartCount": {
230 "type": "integer",
231 "example": 0
232 },
233 "resurrectCount": {
234 "type": "integer",
235 "example": 0
236 },
237 "computeUnits": {
238 "type": "integer",
239 "example": 0
240 }
241 }
242 },
243 "options": {
244 "type": "object",
245 "properties": {
246 "build": {
247 "type": "string",
248 "example": "latest"
249 },
250 "timeoutSecs": {
251 "type": "integer",
252 "example": 300
253 },
254 "memoryMbytes": {
255 "type": "integer",
256 "example": 1024
257 },
258 "diskMbytes": {
259 "type": "integer",
260 "example": 2048
261 }
262 }
263 },
264 "buildId": {
265 "type": "string"
266 },
267 "defaultKeyValueStoreId": {
268 "type": "string"
269 },
270 "defaultDatasetId": {
271 "type": "string"
272 },
273 "defaultRequestQueueId": {
274 "type": "string"
275 },
276 "buildNumber": {
277 "type": "string",
278 "example": "1.0.0"
279 },
280 "containerUrl": {
281 "type": "string"
282 },
283 "usage": {
284 "type": "object",
285 "properties": {
286 "ACTOR_COMPUTE_UNITS": {
287 "type": "integer",
288 "example": 0
289 },
290 "DATASET_READS": {
291 "type": "integer",
292 "example": 0
293 },
294 "DATASET_WRITES": {
295 "type": "integer",
296 "example": 0
297 },
298 "KEY_VALUE_STORE_READS": {
299 "type": "integer",
300 "example": 0
301 },
302 "KEY_VALUE_STORE_WRITES": {
303 "type": "integer",
304 "example": 1
305 },
306 "KEY_VALUE_STORE_LISTS": {
307 "type": "integer",
308 "example": 0
309 },
310 "REQUEST_QUEUE_READS": {
311 "type": "integer",
312 "example": 0
313 },
314 "REQUEST_QUEUE_WRITES": {
315 "type": "integer",
316 "example": 0
317 },
318 "DATA_TRANSFER_INTERNAL_GBYTES": {
319 "type": "integer",
320 "example": 0
321 },
322 "DATA_TRANSFER_EXTERNAL_GBYTES": {
323 "type": "integer",
324 "example": 0
325 },
326 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
327 "type": "integer",
328 "example": 0
329 },
330 "PROXY_SERPS": {
331 "type": "integer",
332 "example": 0
333 }
334 }
335 },
336 "usageTotalUsd": {
337 "type": "number",
338 "example": 0.00005
339 },
340 "usageUsd": {
341 "type": "object",
342 "properties": {
343 "ACTOR_COMPUTE_UNITS": {
344 "type": "integer",
345 "example": 0
346 },
347 "DATASET_READS": {
348 "type": "integer",
349 "example": 0
350 },
351 "DATASET_WRITES": {
352 "type": "integer",
353 "example": 0
354 },
355 "KEY_VALUE_STORE_READS": {
356 "type": "integer",
357 "example": 0
358 },
359 "KEY_VALUE_STORE_WRITES": {
360 "type": "number",
361 "example": 0.00005
362 },
363 "KEY_VALUE_STORE_LISTS": {
364 "type": "integer",
365 "example": 0
366 },
367 "REQUEST_QUEUE_READS": {
368 "type": "integer",
369 "example": 0
370 },
371 "REQUEST_QUEUE_WRITES": {
372 "type": "integer",
373 "example": 0
374 },
375 "DATA_TRANSFER_INTERNAL_GBYTES": {
376 "type": "integer",
377 "example": 0
378 },
379 "DATA_TRANSFER_EXTERNAL_GBYTES": {
380 "type": "integer",
381 "example": 0
382 },
383 "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
384 "type": "integer",
385 "example": 0
386 },
387 "PROXY_SERPS": {
388 "type": "integer",
389 "example": 0
390 }
391 }
392 }
393 }
394 }
395 }
396 }
397 }
398 }
399}
Delete Named Storages OpenAPI definition
OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.
OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.
By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.
You can download the OpenAPI definitions for Delete Named Storages from the options below:
If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.
You can also check out our other API clients:
Actor Metrics
1 monthly user
-
1 bookmark
Created in Jan 2020
Modified 4 years ago