---
title: "Update"
method: POST
path: "/api/v1/apps/{app_id}/usage_controls"
tags: ["App Usage Controls"]
---

# Update

`POST /api/v1/apps/{app_id}/usage_controls`

Update usage controls for an app.

## Path parameters

- `app_id` string, required — The app that this object belongs to.

## Request body

- C1ApiAppV1UpdateAppUsageControlsRequestInput — The UpdateAppUsageControlsRequest message contains the AppUsageControls object to update and the update mask.
  - `appUsageControls` C1ApiAppV1AppUsageControls — The AppUsageControls object describes some peripheral configuration for an app.
    - `appId` string — The app that this object belongs to.
    - `notify` boolean — Whether or not to notify some if they have access to the app, but has not used it within a configurable amount of time.
    - `notifyAfterDays` integer — The duration in days after which we notify users of nonusage.
    - `revoke` boolean — Whether or not to revoke a grant if they have access to the app, but has not used it within a configurable amount of time.
    - `revokeAfterDays` integer — The duration in days after which we revoke users that have not used that grant.
  - `updateMask` string, nullable

## Response `200`

The UpdateAppUsageControlsResponse message contains the updated AppUsageControls object.

- C1ApiAppV1UpdateAppUsageControlsResponse — The UpdateAppUsageControlsResponse message contains the updated AppUsageControls object.
  - `appUsageControls` C1ApiAppV1AppUsageControls — The AppUsageControls object describes some peripheral configuration for an app.
    - `appId` string — The app that this object belongs to.
    - `notify` boolean — Whether or not to notify some if they have access to the app, but has not used it within a configurable amount of time.
    - `notifyAfterDays` integer — The duration in days after which we notify users of nonusage.
    - `revoke` boolean — Whether or not to revoke a grant if they have access to the app, but has not used it within a configurable amount of time.
    - `revokeAfterDays` integer — The duration in days after which we revoke users that have not used that grant.

## Changes

> 33 revisions in range; 1 could not be searched.

- **2025-04-10** `17f9f3bcedd5` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/conductorone/apis/c1-api/changes/api/v1/apps/:app_id/usage_controls/post.md)

---

[API](https://skmtc.dev/conductorone/apis/c1-api.md) · [All operations](https://skmtc.dev/conductorone/apis/c1-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/conductorone/c1-api/revisions/f2cf3228f366/schema)
