Unlocked Leaks Lists

Update an Unlocked List

Changed on

Update list metadata. Only provided fields are updated.

Updatable fields

  • name must be unique per account, case-insensitive.
  • color optional UI attribute.

Errors

  • 401 Authentication required, or invalid/expired API key.
  • 404 List not found.
  • 409 A list with the same name already exists.
  • 422 Request validation error.
patch/profile/unlocked/lists/{list_id}

Request

Path parameters

list_idinteger required

ID of the list to update

Request body

namestring nullable
colorstring nullable

Example request

{
  "color": "#10b981",
  "name": "Renamed list"
}

Response

List updated successfully.

idinteger required
namestring required
colorstring nullable required
created_atstring nullable required
updated_atstring nullable required
items_countinteger nullable

Example response

{
  "color": "#3b82f6",
  "created_at": "2025-01-15T10:30:00Z",
  "id": 42,
  "items_count": 12,
  "name": "Priority targets",
  "updated_at": "2025-01-15T10:30:00Z"
}

Changes