How to delete a dns type a through curl

hello community how are you I have a big problem I need to delete several dns but curl asks me for the dns_record and it won’t let me see it, how could I delete these dns type a?

When using the API, you need to initially search for the relevant records using GET zones/:zone_identifier/dns_records. You will get an id in the response. You can pass this id as the identifier to DELETE zones/:zone_identifier/dns_records/:identifier