Skip to content
URL:
https://<root>/portals/[portalID]/aiServices/disable
Methods:
POST
Version Introduced:
12.0

Example usage

The following is a sample ArcGIS Enterprise POST request for the disable operation:

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
POST /<context>/sharing/rest/portals/0123456789ABCDEF/aiServices/disable HTTP/1.1
Host: organization.example.com
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryyhXptJlpBtsY1lI1
Content-Length: []

------WebKitFormBoundaryyhXptJlpBtsY1lI1
Content-Disposition: form-data; name="f"

pjson
------WebKitFormBoundaryyhXptJlpBtsY1lI1
Content-Disposition: form-data; name="token"

<token>
------WebKitFormBoundaryyhXptJlpBtsY1lI1--

Description

The disable operation removes the stored ArcGIS Online credentials being used for AI assistants, which prevents the further use of these assistants until new ArcGIS Online credentials are added. This operation can only be performed by members assigned the default administrator role.

While the use of the AI assistants themselves is halted when there are no ArcGIS Online credentials being stored, AI-related endpoints and information will remain accessible in the API. To fully disable access to these endpoints, and to hide all AI-related information (such as helperServices), administrators must use the Update Settings operation.

Request parameters

ParameterDetails

f

The response format. The default format is html.

Values: html | json | pjson

JSON Response example

Use dark colors for code blocksCopy
1
2
3
{
  "success": true
}

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