delete-event-photos

Use this API to delete all photos from an event

Use this API to delete all photos from an event

POST https://api.memzo.ai/v1/delete-event-photos/

Headers

Name
Type
Description

Authorization *

YOUR_SECRET_KEY

x-api-key*

String

YOUR_API_KEY

Request Body

Name
Type
Description

event_id*

String

4296

photos_urls[]*

Array

Testing-pradeep971/al020220312_112146.jpg

{
  "error": false,
  "message": "Photos deleted"
}
Sample Request
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://api.memzo.ai/v1/delete-event-photos',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_POSTFIELDS => array('event_id' => '4296','photos_urls[]' => 'WhiteLabel-Test-Event5449/al0_IMG_5638.jpg'),
  CURLOPT_HTTPHEADER => array(
    'Authorization: YOUR_SECRET_KEY',
    'x-api-key: YOUR_API_KEY'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

For more detailed information, please refer to the full Postman documentation here.

Last updated