PATCH/photos/{id}
Partially update photo
Partial update — only provided fields change. Triggers `photos.updated` webhook.
Parameters 1
| Name | Type | Description |
|---|---|---|
idrequired | path · integer | Resource identifier |
ReturnsPhoto
AcceptsPhotoInput
Bearer token required
Response examples
200Photo updated
{
"id": 1,
"albumId": 1,
"title": "Photo 1",
"url": "https://picsum.photos/seed/1/800/960",
"thumbnailUrl": "https://picsum.photos/seed/1/150/150",
"width": 800,
"height": 960,
"size": 4803273,
"format": "jpeg",
"createdAt": "2026-07-24T20:47:13.121Z"
}400400 — invalid input or malformed JSON
{
"error": {
"status": 400,
"message": "Request body required"
}
}404404 — resource not found
{
"error": {
"status": 404,
"message": "users #999 not found"
}
}