# `ApifyClient.API.Users.Me.Limits`
[🔗](https://github.com/social-growth-studio/apify-client-ex/blob/v1.0.0/lib/apify_client/api/users/me/limits.ex#L1)

Provides API endpoints related to api/users/me/limits

# `get`

```elixir
@spec get(opts :: keyword()) ::
  {:ok, ApifyClient.Schemas.AccountLimits.t()} | {:error, ApifyClient.Error.t()}
```

Get user's limits

Returns a complete summary of your account's limits. It is the same
information you will see on your account's [Limits page](https://console.apify.com/billing#/limits). The returned data
includes the current usage cycle, a summary of your limits, and your current usage.

# `update`

```elixir
@spec update(
  body :: map() | ApifyClient.Schemas.UpdateLimitsRequest.t(),
  opts :: keyword()
) ::
  {:ok, map() | nil} | {:error, ApifyClient.Error.t()}
```

Update user's limits

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).

## Request Body

**Content Types**: `application/json`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
