|
|
@ -150,7 +150,7 @@ namespace Jellyfin.Api.Controllers
|
|
|
|
/// <param name="version">Plugin version.</param>
|
|
|
|
/// <param name="version">Plugin version.</param>
|
|
|
|
/// <response code="204">Plugin disabled.</response>
|
|
|
|
/// <response code="204">Plugin disabled.</response>
|
|
|
|
/// <response code="404">Plugin not found.</response>
|
|
|
|
/// <response code="404">Plugin not found.</response>
|
|
|
|
/// <returns>An <see cref="NoContentResult"/> on success, or a <see cref="NotFoundResult"/> if the file could not be found.</returns>
|
|
|
|
/// <returns>An <see cref="NoContentResult"/> on success, or a <see cref="NotFoundResult"/> if the plugin could not be found.</returns>
|
|
|
|
[HttpPost("{pluginId}/{version}/Disable")]
|
|
|
|
[HttpPost("{pluginId}/{version}/Disable")]
|
|
|
|
[Authorize(Policy = Policies.RequiresElevation)]
|
|
|
|
[Authorize(Policy = Policies.RequiresElevation)]
|
|
|
|
[ProducesResponseType(StatusCodes.Status204NoContent)]
|
|
|
|
[ProducesResponseType(StatusCodes.Status204NoContent)]
|
|
|
|