Skip to main content
Infrastructure/OTA Versions & Policies
POSTOTASince 1.0SynchronousAuth Required

DeprecateVersion

Mark a software version as deprecated to prevent new upgrades to it

Execution Availability

Try It Out

Submit a mock request using the current auth context and example-driven inputs.

Path Parameters

Request Inputs

Path Parameters

  • idStringRequired

    ID of the OTA version record to deprecate

Body Fields

  • reasonStringRequired

    Reason for deprecating this version

    Example: Security vulnerability discovered; upgrade to v1.3.1

Responses

200 OK

On success, this API returns an empty JSON object {}.

Endpoint

POST/api/v1/ota/versions/{id}/deprecate

/api/v1/ota/versions/{id}/deprecate

Operation ID

DeprecateVersion

Permalink

Request Example

curl -X POST '{host}/api/v1/ota/versions/{id}/deprecate' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"reason":"Security vulnerability discovered; upgrade to v1.3.1"}'

Response Example

200
{}

Change History

This API has no change history records yet.

View all change history