All attributes assigned to the layer are removed, and any associated animation curves are deleted. The layer remains in the stack.
To delete selected animation layers
The layer(s) and all associated animation curves are deleted.
To delete all keyframes from a selected animation layer
With all of the layer’s associated objects selected, you can view its keyframes in the Time Slider, Graph Editor, and Dope Sheet.