Start Container API and detach keys

What is the use of Detach keys after executing the Start A Container api with detach keys or Command with --detach-keys flag?
I’m not able to detach from container after executing the Api’s.