Skip to content
This repository was archived by the owner on Jan 9, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions openapi/components/schemas/users/UpdateLimitsRequest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
title: UpdateLimitsRequest
type: object
properties:
maxMonthlyUsageUsd:
type: number
example: 300
description: |
If your platform usage in the billing period exceeds the prepaid usage, you will be charged extra.
Setting this property you can update your hard limit on monthly platform usage to prevent accidental overage or to limit the extra charges
dataRetentionDays:
type: number
example: 90
description: |
Apify securely stores your ten most recent Actor runs indefinitely, ensuring they are always accessible.
Unnamed storages and other Actor runs are automatically deleted after the retention period.
If you're subscribed, you can change it to keep data for longer or to limit your usage. [Lear more](https://docs.apify.com/platform/storage/usage#data-retention)
23 changes: 23 additions & 0 deletions openapi/paths/users/users@[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,26 @@ get:
deprecated: false
x-legacy-doc-urls:
- https://docs.apify.com/api/v2#/reference/users/account-and-usage-limits/get-limits
put:
tags:
- Users/Account and usage limits
summary: Update limits
description: |
Updates the account's limits manageable on your account's [Limits page](https://console.apify.com/billing#/limits).
Specifically the: `maxMonthlyUsageUsd` and `dataRetentionDays` limits (see request body schema for more details).
operationId: users_me_limits_put
requestBody:
description: ''
content:
application/json:
schema:
$ref: ../../components/schemas/users/UpdateLimitsRequest.yaml
responses:
'201':
description: ''
headers: {}
content:
application/json:
schema:
type: object
deprecated: false
Loading