Databricks Token API create

Rajamannar A K 86 Reputation points

Hi Folks,
I'm trying to create a token to my databricks workspace using Token API, I'm following this documentation for it link.

   curl --netrc --request POST \  
   https://<databricks-instance>/api/2.0/token/create \  
   \--data '{ "comment": "This is an example token", "lifetime_seconds": 7776000 }' \  
   | jq .  

In this <databricks-instance> I'm passing my workspace instance name, but I get the following error when I use it in the Azure pipeline.

Also how to store the output token in .netrc file

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
1,381 questions
{count} votes