---
title: "PATCH /networks/{networkId}/guest-users/{usernameHash}"
method: PATCH
path: "/networks/{networkId}/guest-users/{usernameHash}"
---

# PATCH /networks/{networkId}/guest-users/{usernameHash}

`PATCH /networks/{networkId}/guest-users/{usernameHash}`

Updates the block status of a guest user in a Wickr network. This operation allows you to block or unblock a guest user from accessing the network.

## Path parameters

- `networkId` string, required
- `usernameHash` string, required

## Request body

- object
  - `block` boolean, required — Set to true to block the guest user or false to unblock them.

## Response `200`

Success

- UpdateGuestUserResponse
  - `message` string — A message indicating the result of the update operation.

## Other responses

- `480` — ValidationError
- `481` — BadRequestError
- `482` — ResourceNotFoundError
- `483` — ForbiddenError
- `484` — UnauthorizedError
- `485` — InternalServerError
- `486` — RateLimitError

---

[API](https://skmtc.net/aws/apis/wickr.md) · [All operations](https://skmtc.net/aws/apis/wickr/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/wickr/versions/71d396c2af63/schema)
