swshswshPublic API
Download OpenAPIView raw

Remove a label from a photo. Requires admin access to the album.

POST/photo/removePhotoLabel

Authentication

Include your API key in the x-api-key header on every request.

Request body

albumIdstringrequired
The ID of the album containing the photo
photoIdstringrequired
The ID of the photo to remove the label from
labelstringrequiredmin 1max 40
The label to remove from the photo (max. 40 characters)
isHiddenbooleandefault: false
Whether or not the label is hidden from non-admin users. Defaults to false.

Response · 200 Label removed successfully

dataobjectrequired
messagestringrequired
warningsArray<string>
string

Errors

400Invalid request. The request was malformed or missing required parameters.
404Album or photo not found