# Approve a suggestion **PATCH /case/{caseId}/suggest/{codeId}/{suggestionId}/approve** Applies the suggested configuration to the extraction code, approves and locks the code, and closes other open suggestions. Only the side opposite the suggester can approve. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Access token ## Parameters ### Headers - **organization** (string) id of the selected (active) organization ### Path parameters - **caseId** (string) Id of the case - **suggestionId** (string) Id of the suggestion - **codeId** () Id of the extraction code ## Responses ### 200 #### Body: application/json (object) - **data** (object) - **statusCode** (number) - **timestamp** (string(date-time)) [Powered by Bump.sh](https://bump.sh)