---
title: "Update user"
method: PUT
path: "/firewall/{app_id}/users/{user_id}"
---

# Update user

`PUT /firewall/{app_id}/users/{user_id}`

update blocking status of a user

## Path parameters

- `app_id` integer, required
- `user_id` string, required

## Request body

- object
  - `block` boolean, required — Whether to block the specified user from accessing your app

## Response `200`

The app has been successfully created

- object
  - `success` boolean — The boolean true indicating success

## Other responses

- `400` — One or more of the provided fields are invalid.
- `404` — App not found or User not found

---

[API](https://skmtc.net/aikido/apis/authorization.md) · [All operations](https://skmtc.net/aikido/apis/authorization/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aikido/authorization/revisions/5445e7c21137/schema)
