Cab door being slammed in the city (7)
I believe the answer is:
cordoba
'the city' is the definition.
(Cordoba is a city in Spain)
'cab door being slammed' is the wordplay.
'being slammed' indicates anagramming the letters.
'cab'+'door'='cabdoor'
'cabdoor' anagrammed gives 'CORDOBA'.
'in' acts as a link.
(Other definitions for cordoba that I've seen before include "spending unit in Nicaragua" , "Moorish city" , "City in southern Spain and Spanish explorer" , "Spanish destination" , "ready for Nicaragua?" .)