A 409 Conflict
response indicates that the request couldn’t be processed because of a conflict with the current state of the resource.
In this example, the request tried to delete a CA set that still has active versions, which caused a conflict.
{
"contextInfo": {
"caSetId": "4",
"caSetName": "test",
"stagingVersionLink": "/mtls-edge-truststore/v2/ca-sets/4/versions/4",
"stagingStatus": "ACTIVE",
"productionVersionLink": "/mtls-edge-truststore/v2/ca-sets/4/versions/3"
},
"detail": "CA set with caSetId 4 cannot be deleted as it has one or more active versions.",
"status": 409,
"instance": "/mtls-edge-truststore/error-types/ca-set-cannot-be-deleted-active-versions/4e0069deb5f40f63",
"title": "CA set cannot be deleted.",
"type": "/mtls-edge-truststore/error-types/ca-set-cannot-be-deleted-active-versions"
}