Share this page

# Add or update a monitor system token

Available in versions: 24.3 and later

## Description

Adds or updates a monitor system token.

## URL

Copy code

    /Admin/rest/v1/monitors/token

## Remarks

The system token data can be passed as XML containing the equivalent data.

To add a system token, you need to send an HTTP request.

This API should be authorized for the Application, Tenant, and Site Admin permission levels.

## HTTP method

POST: Add or update the system token.

## Request

Headers:

Content-Type: application/xml

Cookies:

ADM_LWSSO={ADM_LWSSO_COOKIE_VALUE};

Request body:

POST: An XML describing the system token request.

The request contains the following fields.

Element | Description
--- | ---
MonitorType | The monitor type. Currently, only AppDynamics is supported.
TokenValue | The token value.

Request examples:

Copy code
XML example:

    <MonitorGlobalTokenRequest>
    <MonitorType>AppDynamics</MonitorType>
    <TokenValue>TOKEN_VALUE</TokenValue>
    </MonitorGlobalTokenRequest>

Copy code
JSON example:

    {
      "MonitorType": "AppDynamics",
      "TokenValue": "TOKEN_VALUE"
    }

## Response

Headers:

None

Cookies:

None

HTML Return Code:

One of the HTTP return codes.

- 200 (OK) - Success

- 500 (Error)

See also:

- Delete a monitor system token

Tips to improve your search results... OpenText™ Enterprise Performance Engineering Admin API Reference OpenText™ Enterprise Performance Engineering All View Local Help Center View Online Help Center(Undefined variable: _rscC_Basic_Variables.VersionLabel)