I'm trying to obtain the owner of a list of jobs on databricks using CLI. The issue is, the command databricks jobs list
doesn't have any information related with that, any suggestions?
Thanks in advance!
You need to use Permissions API for that. Specifically the Get Job Permissions Levels API. Just do a GET request against endpoint https://<databricks-instance>/api/2.0/preview/permissions/jobs/{job_id}/permissionLevels
- replace {job_id}
with actual Job ID