Skip to content

Delete Certificates API #2141

@graikhel-intel

Description

@graikhel-intel

Summary:

As a user of MPS, I want the ability to delete certificates that are not associated with any AMT profile or configuration, so I can remove unused certificates.

We already support Add and Get certificate APIs. This story adds Delete with safe-guards.

See this for reference src/routes/amt/certificates/](https://github.com/device-management-toolkit/mps/tree/main/src/routes/amt/certificates

Scope & Requirements:

  • Allow deletion only when the certificate is unreferenced by any AMT profile/config.
  • Block deletion when the certificate is referenced; return a clear, actionable error.
  • Expose capability in API and Sample Web UI.

Acceptance Criteria:

  • Add Delete Certificates API
  • Sample Web UI Changes
  • Update Postman Tests
  • Testing - Confirm that unassociated certificates can be successfully deleted. and Ensure associated certificates cannot be deleted.
  • Unit Tests
  • API Tests
  • Update docs

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Status

Q4 2025 (Current)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions