API Delete Camera Preset

From IVS Wiki
Revision as of 16:22, 11 June 2026 by IVSWikiBlue (talk | contribs) (Created page with "This API call deletes an existing preset from a camera. ===Resource URL=== <pre>http://valt.example.com/api/v3/cameras/{camera}/presets/{preset}</pre> ''Replace {camera} with...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This API call deletes an existing preset from a camera.

Resource URL

http://valt.example.com/api/v3/cameras/{camera}/presets/{preset}

Replace {camera} with the ID of the camera and {preset} with the ID of the preset.

Resource Information

Method DELETE
Headers Content-Type: application/json
Response Type None
Authentication Required Yes

Parameters

Path Parameters

Parameter Description Example
camera The ID of the camera the preset belongs to. 1
preset The ID of the preset to delete. 15

Response

Code Reason
204 Preset Deleted Successfully (No Content)
400 Invalid Request (See Response for Specific Error)
401 Unauthorized
404 Camera or Preset Not Found
500 Internal Server Error

A 204 No Content response indicates the preset was deleted successfully. No response body is returned.

Not Found Response

Returned when no camera or preset exists with the specified IDs.

{
  "title": "An error occurred",
  "status": 404,
  "detail": "Not Found"
}

Failure Response

Sample response is shown with line breaks to make it more readable. Actual responses will not include line breaks.

{
  "error": {
    "code": 500,
    "message": "Internal Server Error"
  }
}