Skip to main content
POST
/
packages
/
{packageId}
/
videos
/
delete
Delete
curl --request POST \
  --url https://sandbox.syngrafii.com/api/v1/packages/{packageId}/videos/delete \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '
{
  "packageId": "<string>"
}
'
{
  "packageId": "<string>",
  "videos": [
    {
      "meetingVideoId": "<string>",
      "meetingVideoSharedId": "<string>",
      "meetingId": "<string>",
      "meetingSessionId": "<string>",
      "externalVideoId": "<string>",
      "externalStorageId": "<string>",
      "timeCreated": "<string>",
      "timeRetention": "<string>",
      "timeDeleted": "<string>",
      "duration": "<string>",
      "size": 123,
      "source": "<string>",
      "type": "<string>",
      "state": "<string>",
      "url": "<string>",
      "timeUrlExpires": "<string>"
    }
  ]
}
You can delete all the videos or a specific video for a given package by calling the /packages/{packageId}/videos/delete endpoint.
Please note that this will mark the video for permanent deletion from the iinked Sign platform and you should only do so if you have downloaded or no longer need the video.

Request

Request
POST /packages/videos/delete
{
	"packageId": "c603079c-2dc7-4af7-8c2e-dc992662621c",
	"meetingVideoId": "4c512b8a-c1ad-47da-ae22-5a61115505e3"
}

Body

packageId
string
required
Unique identifier for the package to be deleted.
meetingVideoId
string
Unique identifier for the specific meeting video to be deleted.
If not provided, all package videos will be deleted.

Response

packageId
string
Unique identifier of the package associated with the deleted videos.
videos
object[]
List of meeting videos deleted from the package.

Examples

Response (200)
{
	"packageId": "c603079c-2dc7-4af7-8c2e-dc992662621c",
	"videos": [
		{
			"meetingVideoId": "4c512b8a-c1ad-47da-ae22-5a61115505e3",
			"meetingId": "0f2f4065-3d07-4fd5-96e8-13b3f77a7c9d",
			"timeCreated": "2019-08-20T18:57:33.541Z",
			"timeRetention": null,
			"timeDeleted": "2019-08-20T18:58:02.2596573Z",
			"duration": "PT6S",
			"size": 484524,
			"type": "video",
			"state": "deleted",
			"url": null,
			"timeUrlExpires": null
		}
	]
}