Skip to content
URL:
https://<root>/machines/<machine>/gpulimitinfo/edit
Methods:
POST
Version Introduced:
12.0

Description

The edit operation allows administrators to manually adjust the results of the GPU Limit Check tool. If the GPU Limit Check tool has not been run recently or is not showing the proper number of available GPUs, it can be changed here.

Request parameters

ParameterDetails

gpuLimit

(Required)

The desired GPU Limit, as an integer. This value should reflect the actual number of available GPUs in an environment.

f

(Required)

The output format for this operation. The default value is html.

Values: html | json | pjson

token

(Required)

Users interacting programmatically with this endpoint must generate a token that must be included as a request parameter. A token can be obtained using the Generate Token operation.

Response properties

PropertyDetails

limit

The number of GPUs detected by the GPU Limit Check tool or manually set using this operation.

lastExecuted

Outputs a Unix timestamp of when the tool was last run.

Example usage

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

Use dark colors for code blocksCopy
1
2
3
4
5
6
POST /arcgis/admin/machines/machine.example.com/gpulimitinfo/edit HTTP/1.1
Host: organization.example.com:21443
Content-Type: application/x-www-form-urlencoded
Content-Length: []

gpuLimit=1&f=pjson

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
{
    "limit": <integer>,
    "lastExecuted": <Unix timestamp>
}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
{
    "limit": 1,
    "lastExecuted": 1764774003
}

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