Remove description from job
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2023 12:17 AM
How do I remove a description from a job completely? When I try to just remove the text in the edit window, the same text shows up afterwards, even though it says "Successfully updated job".
Also I had to write this twice, because on the first try I had to register and my message was not saved
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2023 06:36 AM
Hi,
this is not possible form UI 😞
You have to replace content with e.g. white space. I think this is bug.
But you can do it using job api !
Below example in PowerShell, just reaplce:
- job_is
- token
- workspaceURL
$body = @'
{
"job_id": 123456789,
"new_settings": {
"description": ""
}
}
'@
$token = 'my123adb123token-2'
$wspace ='https://adb-123456.1.azuredatabricks.net'
$api = '/api/2.1/jobs/update'
$uri = $wspace + $api
$headers = @{
Authorization="Bearer $token"
}
$response = Invoke-WebRequest -Method POST -Uri $uri -Headers $headers -Body $body -ContentType "application/json"