Hi @shkrish,
according to the documentation of this REST endpoint you will get a 204 if the process definition does not have an associated diagram.
You need to explicitly deploy that image. It has to have the same name as your bpmn file.
Maybe you will find this thread helpful: Set Diagram Image
Hope this helps!
Cheers,
Miklas