---
title: "Update Application Config"
method: PUT
path: "/governance-service/api/ai/application/{id}/config"
tags: ["AI Application Config Management"]
---

# Update Application Config

`PUT /governance-service/api/ai/application/{id}/config`

Update the configuration of an AI application by ID.

## Path parameters

- `id` integer, required

## Request body

- AIApplicationConfigViewInput — A model representing the configuration of an AI application. Inherits from: BaseView: The base model containing common fields. Attributes: allowed_users (List[str]): The allowed users for the AI application. allowed_groups (List[str]): The allowed groups for the AI application. allowed_roles (List[str]): The allowed roles for the AI application. denied_users (List[str]): The denied users for the AI application. denied_groups (List[str]): The denied groups for the AI application. denied_roles (List[str]): The denied roles for the AI application. application_id (int): The application ID.
  - `id` integer, nullable — The unique identifier of the resource
  - `status` integer, nullable — The status of the resource
  - `createTime` string, date-time, nullable — The creation time of the resource
  - `updateTime` string, date-time, nullable — The last update time of the resource
  - `allowedUsers` string[], nullable — The allowed users for the AI application
  - `allowedGroups` string[], nullable — The allowed groups for the AI application
  - `allowedRoles` string[], nullable — The allowed roles for the AI application
  - `deniedUsers` string[], nullable — The denied users for the AI application
  - `deniedGroups` string[], nullable — The denied groups for the AI application
  - `deniedRoles` string[], nullable — The denied roles for the AI application
  - `applicationId` integer, nullable — The application ID

## Response `200`

Successful Response

- AIApplicationConfigViewOutput — A model representing the configuration of an AI application. Inherits from: BaseView: The base model containing common fields. Attributes: allowed_users (List[str]): The allowed users for the AI application. allowed_groups (List[str]): The allowed groups for the AI application. allowed_roles (List[str]): The allowed roles for the AI application. denied_users (List[str]): The denied users for the AI application. denied_groups (List[str]): The denied groups for the AI application. denied_roles (List[str]): The denied roles for the AI application. application_id (int): The application ID.
  - `id` integer, nullable — The unique identifier of the resource
  - `status` integer, nullable — The status of the resource
  - `createTime` string — The creation time of the resource
  - `updateTime` string — The last update time of the resource
  - `allowedUsers` string[], nullable — The allowed users for the AI application
  - `allowedGroups` string[], nullable — The allowed groups for the AI application
  - `allowedRoles` string[], nullable — The allowed roles for the AI application
  - `deniedUsers` string[], nullable — The denied users for the AI application
  - `deniedGroups` string[], nullable — The denied groups for the AI application
  - `deniedRoles` string[], nullable — The denied roles for the AI application
  - `applicationId` integer, nullable — The application ID

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/privacera/apis/paig-server.md) · [All operations](https://skmtc.net/privacera/apis/paig-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/privacera/paig-server/versions/e3d2c30ceace/schema)
