cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Remove description from job

dbx-user7354
New Contributor III

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

1 REPLY 1

Wojciech_BUK
Valued Contributor III

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"

 

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group