---
title: "Update police for an user"
method: POST
path: "/apps/{appId}/access/{userId}"
tags: ["hidden"]
---

# Update police for an user

`POST /apps/{appId}/access/{userId}`

Update police for an user on an app

## Path parameters

- `appId` integer, required
- `userId` string, required

## Query parameters

- `policy_profile_id` integer, required

## Response `200`

Success

- PolicyProfile
  - `name` string
  - `description` string
  - `rights` string[] — Routes list
  - `restricted` boolean
  - `homepage` string, uri
  - `visible` integer

## Other responses

- `404` — App was not found

---

[API](https://skmtc.net/sinao/apis/sinao-api.md) · [All operations](https://skmtc.net/sinao/apis/sinao-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sinao/sinao-api/versions/436b47b78bf4/schema)
