Skip to content

API: DELETE /api/apps/{index} expects Content-Type header #4069

Description

@doxxx

Is there an existing issue for this?

  • I have searched the existing issues

Is your issue described in the documentation?

  • I have read the documentation

Is your issue present in the latest beta/pre-release?

This issue is present in the latest pre-release

Describe the Bug

When I send a DELETE /api/apps/{index} request without a Content-Type header because there is no actual content to send, I get a non-successful result: {"error":"Content type not provided","status":false,"status_code":400}

Expected Behavior

The DELETE /api/apps/{index} API endpoint should not require a Content-Type header.

Additional Context

No response

Host Operating System

Linux

Operating System Version

Bazzite 42

Architecture

amd64/x86_64

Sunshine commit or version

2025.628.4510

Package

Linux - Fedora Copr

GPU Type

NVIDIA

GPU Model

3080

GPU Driver/Mesa Version

unknown

Capture Method

None

Config

n/a

Apps

n/a

Relevant log output

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions