There is API available to create a secret for Service Principal.
/api/2.0/accounts/{account_id}/servicePrincipals/{service_principal_id}/credentials/secrets
Can anyone please help what has to be passed as authentication for this API ?
This is looking a Account level API so i think we will not be able to pass Personal access token of a User which is normally created from workspace.