How to use fingerprint in order to avoid issues grouping?

Just to verify - it wasn’t clear to me from the documentation:
Say I have some issues being grouped together, and I’d like to separate them based on an http status code for instance.
So I should be sending something like this along with my exception?:

Raven.captureException(ex, {fingerprint: [‘errorCode’, code]})

where code is a variable that could be ‘404’, ‘500’ etc.

Is that correct?