Databricks Job API: The job must have exactly one owner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2024 07:07 PM
Hi Team,
I'm trying to set the Job Permission using the Databricks Job API but getting the below error.
I used these details along with new permission to apply for the Job.
PUT https://adb-XXXXXXXXXX.10.azuredatabricks.net/api/2.0/permissions/jobs/18660
Body:
Response:
- Labels:
-
Workflows
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2024 07:27 PM
Hi Team,
Right after this post, I tried to monitor the network log by inspecting an element from the UI Browser and found that the UI API is taking different parameters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2025 09:30 AM
Thank you for the solution Amit. I have been trying to update the permissions for my workflows since 1 day. I came across your post, changed the structure of the payload and it worked fine. So basically when you do a get request to fetch the ACLs, you get :
'access_control_list': [{'user_name': 'xyz@abc.org', 'display_name': 'Xyz, Fgv', 'all_permissions': [{'permission_level': 'IS_OWNER', 'inherited': False}]}]
But while updating, you need to discard the 'all_permissions' list and add everything inside in the dict. I wonder why it works this way when while fetching the ACLs we get it with the 'all_permissions'.
Also I have seen if there are any inherited ACL, we do not have to mention that in the payload. It take the permission for that group (eg. admin) automatically.
Regards,
Andolina
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2025 09:58 PM
Hi , I have tried the same approach but it ddint work for me. Iam using api/2.0 with PUT Request

