When a new TD is created via the PUT /things/{id} endpoint, it checks if the id in the body matches the one in the URL. Otherwise, it throws the following exception:
{
"type": "/errors/types/mismatch-id-expection",
"title": "Mismatch ID",
"status": 400,
"detail": "The id specified in the URL does not match the id in the Thing Description body"
}
When a new TD is created via the PUT /things/{id} endpoint, it checks if the id in the body matches the one in the URL. Otherwise, it throws the following exception: