Skip to main content

Notifications

Power Automate - Using Connectors
Answered

Is there a way to remove 'Bearer' label from the API Key Authentication header

(0) ShareShare
ReportReport
Posted on by 9

When choosing API Key as the security method for a custom connection in Power Automate, the Authentication header defaults to a Bearer label for the token.  The application which i'm trying to connect to requires the flag to be something different, is there a way to change this?

 

Defaults to:

"Authorization": "Bearer xxxxxxxxx"

 

Want to change to:

"Authorization": "rest_api_key=xxxxxx"

  • Verified answer
    DavidIannotti Profile Picture
    DavidIannotti 9 on at
    Re: Is there a way to remove 'Bearer' label from the API Key Authentication header

    I answered my own question, mostly through viewing older posts.... so thank you to the community.  For anyone that is still looking for an answer - I just included my API Token's prefix when prompted for the API Key - rest_api_key=<<MyAPIKey>>. 

     

    So you don't have to remove the BEARER prefix, just include the one you want in the token's string when prompted to enter the API Key for the Connection.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,636

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,942

Leaderboard

Featured topics