Skip to main content
PUT
/
v1
/
applications
/
{applicationId}
/
jobs
/
{jobId}
Update the Job
curl --request PUT \
  --url https://{instance}.domo.com/api/executor/v1/applications/{applicationId}/jobs/{jobId} \
  --header 'Content-Type: application/json' \
  --header 'X-DOMO-Developer-Token: <api-key>' \
  --data '
{
  "jobId": "526906bb-e7e0-4f70-9ca0-3bb4fdf99c82",
  "jobName": "domo-labs-dev2.dev.domo.com",
  "executionTimeout": 720,
  "executionPayload": {
    "remoteInstance": "domo-labs-dev.dev.domo.com",
    "subscriberJobId": "b8ff1dc6-4426-4256-8176-1cb9482e79c0",
    "policies": {
      "AccessTokens": "85f65936-e0c3-4e74-8398-13096df9bdb3",
      "DomainWhitelist": "cd473383-9589-4d44-a85a-ffd58c0b1d55",
      "IPWhitelist": "6f570767-ec10-4d9b-b0f2-abb0bf1bd8d2",
      "OIDC": "d26a1d1e-a6c0-4367-b929-70a6e01e5b46",
      "SAML": "081d8320-c6df-4d0b-8802-97875989236d",
      "DirectSignOn": "7b1f43e1-165d-4eed-b195-491a6bedcef0"
    },
    "metricsDatasetId": "2644b5d0-344b-4bc0-b379-d3854923a29c"
  },
  "executionResponse": {},
  "accounts": [
    479
  ],
  "resources": {
    "requests": {
      "memory": "256M"
    },
    "limits": {
      "memory": "256M"
    }
  },
  "triggers": []
}
'
{
  "status": "OK",
  "code": 200,
  "message": "Job updated successfully"
}

Authorizations

X-DOMO-Developer-Token
string
header
required

Domo Developer Token for authentication

Path Parameters

Application_Id
string
required

ID of the application

Job_Id
string
required

ID of the job to update

Body

application/json
jobId
string
required

Job ID

Example:

"526906bb-e7e0-4f70-9ca0-3bb4fdf99c82"

jobName
string
required

Job name

Example:

"domo-labs-dev2.dev.domo.com"

executionTimeout
integer

Execution timeout in seconds

Example:

720

executionPayload
object
executionResponse
object

Execution response

accounts
integer[]

List of account IDs

Example:
[479]
resources
object
triggers
object[]

List of triggers

Example:
[]

Response

200 - application/json

Job updated successfully

status
string

Response status

Example:

"OK"

code
integer

HTTP status code

Example:

200

message
string

Response message

Example:

"Job updated successfully"