# Set an issue's locks **PUT** `/v1/issues/{idOrNumber}/locks` **Operation ID**: `setLocks` **Summary**: Set an issue's locks Replaces the fields and labels locked against agent changes. Leaving a lock out unlocks it. People only. ## Tags - Issues ## Parameters - **idOrNumber** (required) - path - Type: string ## Request Body **Content-Type**: `application/json` **Schema**: `SetIssueLocksRequest` ## Responses ### 200 Locks set - **Content-Type**: `application/json` / `Issue` ### 400 A label lock contradicts the issue's labels - **Content-Type**: `application/json` / `IssueErrorResponse` ### 401 Unauthorized ### 403 No permission, or not a person - **Content-Type**: `application/json` / `IssueErrorResponse` ### 404 Issue not found ### 409 Stale version - **Content-Type**: `application/json` / `IssueErrorResponse`