Collections

Remove a photo from a collection

Remove a photo from a collection. If it was the cover, the most recently added remaining photo becomes the new cover.

delete/api/v1/collections/{collection_id}/photos/{photo_id}

Request

  • Base URL: https://api.pexafy.com
  • URL: https://api.pexafy.com/api/v1/collections/{collection_id}/photos/{photo_id}
  • Auth: API key in header x-api-key

Path parameters

collection_idinteger required

The numeric identifier of the collection to remove the photo from.

photo_idstring required

The Pexafy photo_id of the photo to remove from the collection.

Response

Successful Response

successboolean

Changes

No recorded changes to this operation across all 1 revision of this API.