Remove (Enterprise Functions)

URL:
https://<root>/system/enterprisefunctions/remove
Methods:
POST
Required Capability:
Access allowed with the "Security and infrastructure" privilege
Version Introduced:
11.2

Description

The remove operation disables a premium capability for an organization, such as raster analytics or image hosting.

This operation is performed asynchronously and will return a job URL that can be used to check the status of the request. When the request is submitted, ArcGIS Enterprise on Kubernetes checks to see if any other premium capabilities that share the same System and Utility services are currently enabled.

If another premium capability is still enabled, and both it and the capability being disabled share the same System and Utility services, those services are not stopped. For example, if ImageHosting is being disabled, but RasterAnalytics is still enabled, the System and Utility services used by both ImageHosting and RasterAnalytics are not disabled.

If no other premium capability is enabled, the System and Utility services are stopped.

Request parameters

ParameterDetails

enterpriseFunction

Specifies the premium capability that is being disabled. Only one premium capability can be disabled per request.

Values: ImageHosting | RasterAnalytics

f

The response format. The default format is html.

Values: html | json | pjson

Example usage

The following is a sample POST request for the remove operation:

Use dark colors for code blocksCopy
1
2
3
4
5
6
POST /context/admin/system/enterprisefunctions/remove HTTP/1.1
Host: organization.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

enterpriseFunction=RasterAnalytics&f=pjson&token= MxOTGPw1srr5-B3I3xMdmzsjKFZ5XcX_ooLc2ijMfCZCMwYR2z2wa0NQXwm2crl9g419kgFdkU9Bhg56vQICl28agx-gAwPu9PfQ2SHS71i50RFsy8YIRw2D-BXNgp94XkIWsl3VplgL5VCoZI07cG8igG5cmX_rInNgDa79Vi5NHRy96elM_6SUbTmbQ9ioG7xbNoVMwpW7nBlP3H4YBke67mjFF6onGZ9FTAcz_8qjHuSPxQwZu6DEnLbkrfT1

JSON Response example

The following response is returned each time a request is submitted:

Use dark colors for code blocksCopy
1
2
3
4
5
{
  "jobsUrl": "https://organization.domain.com/context/admin/jobs/jcdbf4e88-c4ca-42bc-a40f-036c40bbce15",
  "jobid": "jcdbf4e88-c4ca-42bc-a40f-036c40bbce15",
  "status": "SUBMITTED"
}

Once submitted, users can access the job using the jobsUrl returned above to periodically poll the its status.

The following response is returned if the job is completed successfully without encountering any errors:

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  "updatedtime": 1699514547531,
  "jobid": "jf846e55c-84dd-431f-895c-1b2573d2baf9",
  "requestID": "f9dc2911-5ee6-40b5-8bb4-b6074640def6",
  "name": "removeEnterpriseFunction",
  "endtime": 1699514547532,
  "messages": [
    "Removing 'RasterAnalytics' enterprise function",
    "Stopping RasterAnalytics Services",
    "Unregistering the following services as Portal helper services - RasterAnalysisTools, RasterUtilities"
  ],
  "starttime": 1699514538638,
  "operationURI": "removeEnterpriseFunction",
  "status": "COMPLETED",
  "username": "administrator"
}

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