Skip to content

Commit

Permalink
Tweak error response status code when TRN doesn't exist (#1427)
Browse files Browse the repository at this point in the history
  • Loading branch information
gunndabad authored Jul 19, 2024
1 parent 74668d3 commit 666bf23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api-designs/deceased.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ Request body structure:

The `dateOfDeath` property is mandatory and should be formatted `yyyy-MM-dd`.

If no record exists with the specified TRN, a `404 Not Found` status code will be returned.
If no record exists with the specified TRN, a `400 Bad Request` status code will be returned.

If the request is valid, a `204 No Content` status code will be returned.

0 comments on commit 666bf23

Please sign in to comment.