--- title: "Remove-MediaType" slug: "scripting-remove-mediatype" updated: 2026-01-22T13:56:26Z published: 2026-01-22T13:56:26Z canonical: "help.agilityblue.com/scripting-remove-mediatype" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.agilityblue.com/llms.txt > Use this file to discover all available pages before exploring further. # Remove-MediaType ## Summary Deletes an existing media type. ```powershell Remove-MediaType    -Id ``` Returns nothing. ## Parameters | Parameter | Type | Required? | Notes | | --- | --- | --- | --- | | Id | Int32 | Yes | The media type id. | ## Examples ### Delete an existing media type ```powershell Remove-MediaType -Id 1 ```