manageJobs

POST
1
/{orgId}/{itemId}/jobs/manage

Manage one or more jobs

Manage one or more jobs with specified jobIds. Valid enum values for manage are Upgrade, Close, Reopen, and Delete.

Upgrade
Upgrade will upgrade the existing job(s) to the latest active diagram version. The jobUpgrade privilege is required to upgrade a job. A job will not be upgraded if:

  • You have insufficient privileges
  • The job is closed
  • The job is currently running
  • The current step on the job does not exist on the diagram

Close
Close will close open job(s). The jobClose privilege is required to close a job. A job will not be closed if:

  • You have insufficient privileges
  • The job is currently running

Reopen
Reopen will reopen one or more jobs. The jobReopenClosed privilege is required to reopen a job. A job will not be reopened if:

  • You have insufficient privileges
  • The job is currently open

Delete
Delete one or more jobs. The attachments, extended properties and locations associated with the job are also deleted. The jobDelete privilege is required to delete a job. A job will not be deleted if:

  • You have insufficient privileges
  • The job is currently running

Query parameters

NameTypeRequired

token

string

Body parameters

Supported content types: application/json

NameTypeRequiredDescription

Manage action to be taken on jobs(s)

body

Manage action to be taken on jobs(s)

Path parameters

NameTypeRequired

orgId

string

itemId

string

Examples

Request

1
2
3
4
5
6
# You can also use wget
curl -X POST /{orgId}/{itemId}/jobs/manage \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}' \
  --data '{"type":"Close","jobIds":["string"]}'

Response

StatusMeaningDescriptionSchema

200

OK

success

Success

400

Bad Request

error

WorkflowJsonExceptionDTO

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close