API KEY Migration to private app

How to migrate a API KEYS to private app. The guide is not self explaintatory. need some steps. I created app and new key got generated .. that is what API KEY Migration.? I am new to Hubspot.

@sdevupalli

Hi.

Please check this.

// before
"https://api.hubapi.com/crm/v3/objects/contacts/.../?hapikey==XXXXXXXX"

// after
"https://api.hubapi.com/crm/v3/objects/contacts/.../"
//add authorization header
"Authorization: Bearer {TOKEN}"

Thanks.