Cann't modify a api get endpoint

I am facing a error: i wanted to modify the "person/config" this api endpoints where logic like this,

builder.ModifyQueryBuilder("person/config", method ......)

but after compiling there is a error saying this is not a crud method. can you give me an idea how to modify this API or at least let me know which table it's using underneath.