---
title: "Update Client Lock"
method: POST
path: "/api/{serviceId}/client/lock_flag/update/{clientIdentifier}"
tags: ["Client Management"]
---

# Update Client Lock

`POST /api/{serviceId}/client/lock_flag/update/{clientIdentifier}`

Lock and unlock a client

## Path parameters

- `serviceId` string, required
- `clientIdentifier` string, required

## Request body

- ClientFlagUpdateRequest
  - `clientLocked` boolean, required — The flag value to be set

## Response `200`

- ClientFlagUpdateResponse
  - `resultCode` string, required — The code which represents the result of the API call.
  - `resultMessage` string, required — A short message which explains the result of the API call.

## Other responses

- `400`
- `401`
- `403`
- `429` — The request exceeded the request rate permitted for the endpoint.
- `500`

---

[API](https://skmtc.net/authlete/apis/authlete-api.md) · [All operations](https://skmtc.net/authlete/apis/authlete-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/authlete/authlete-api/revisions/7ad74ab64749/schema)
