UpdateSatelliteExtension

Updated at:

Fully updates the configuration of an environment agent extension.

Operation description

Replaces the entire configuration and tool policies of a specified environment agent extension. Optional fields that are not provided revert to their default values.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

PUT /digitalEmployee/{name}/satellites/{satelliteId}/extension/{extensionName} HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

name

string

Yes

The name of the digital worker. It must start with a lowercase letter or a digit, and can contain only lowercase letters, digits, underscores (_), and hyphens (-). The name can be up to 64 characters in length.

ops-bot

satelliteId

string

Yes

The ID of the environment agent (Satellite). The format is sat- followed by 16 lowercase hexadecimal characters.

sat-0123456789abcdef

extensionName

string

Yes

The name of the extension to update.

jira

Request parameters

Parameter

Type

Required

Description

Example

body

object

No

The complete configuration of the extension. This operation replaces the existing configuration of the extension with the configuration in the request. Optional fields that are not provided revert to their default values. This differs from UpdateSatellite, where omitted fields retain their original values. Before you modify the configuration, call GetSatelliteExtension to obtain the complete configuration, and then submit the entire modified configuration to prevent the loss of credentials and tool settings. String fields do not support 4-byte characters such as emojis. The serialized configuration cannot exceed 64 KiB.

extensionName

string

No

The name of the extension. This parameter is optional. If provided, it must be the same as the extensionName in the path.

jira

type

string

No

The type of the extension. This parameter is optional. If provided, it must be the same as the type specified when the extension was created.

mcp

description

string

No

The description of the extension. It can be up to 1,024 bytes in length. If not provided, it reverts to the default value, which is an empty string.

Internal Jira MCP service

enabled

boolean

No

Specifies whether to enable the extension. If not provided, it reverts to the default value true. If set to false, the machine stops the extension.

true

mcp

object

No

The connection configuration of the MCP server. This parameter is required when the extension type is mcp. Currently, only HTTP (Streamable HTTP or HTTP+SSE) connections are supported. The protocol version and transport method are automatically identified. Only the url, headers, and auth fields can be included.

url

string

No

The URL of the MCP server. This parameter is required when the extension type is mcp. It must be an absolute URL that starts with http:// or https:// in lowercase. It can be up to 2,048 bytes in length and cannot contain user information (user:pass@) or fragments (#). Credentials must be placed in auth or headers.

https://mcp.example.com/mcp

headers

object

No

The additional request headers added when connecting to the MCP server. The key is the header name and the value is the header value. The name must comply with the HTTP token syntax, is case-insensitive, and cannot be repeated. A maximum of 16 headers are allowed, excluding Authorization. A single name can be up to 64 bytes in length, and a single value can be up to 4 KiB. The total size of the name and value cannot exceed 8 KiB, including Authorization. You cannot set the Host, Content-Length, Content-Type, Accept, Connection, Transfer-Encoding, Mcp-Session-Id, MCP-Protocol-Version, Mcp-Method, Mcp-Name headers, or headers that start with Mcp-Param-. If not provided, the original request headers are cleared.

string

No

The value of the request header. It cannot contain control characters such as carriage returns and line feeds, except for horizontal tabs.

example-value

auth

object

No

The authentication configuration for accessing the MCP server. If not provided or if type is an empty string, no authentication is performed. If configured simultaneously with Authorization in headers, the authentication information generated by this field takes precedence. If not provided, the original authentication configuration is cleared.

type

string

No

The authentication method: bearer or basic, case-insensitive. If it is an empty string, no authentication is performed, and keyInfo must be empty.

bearer

keyInfo

object

No

The authentication information. Keys cannot be repeated. If the type is bearer, it must include a token. The token cannot be empty, consist only of whitespace characters, or contain control characters, and can include or omit the Bearer prefix. If the type is basic, it must include a username and a password. The username cannot be empty and cannot contain colons (:) or control characters. The password cannot be empty or consist only of whitespace characters. Other keys do not participate in authentication and are saved and returned as-is.

string

No

The value of the authentication information, such as the value of token, username, or password.

example-token

defaultToolMode

string

No

The mode used for tools not listed in toolPolicies, including tools added later by the MCP server. Valid values: auto (automatic execution), hil (manual confirmation required before each execution), or disabled (unavailable). If not provided, it reverts to the default value disabled.

disabled

toolPolicies

array<object>

No

The mode settings for individual tools. A maximum of 256 items are allowed, which completely replace the original list. It can include tools that are not in the current tool catalog. If not provided, the list is cleared.

object

No

The mode settings for an individual tool.

toolName

string

Yes

The name of the tool, which is obtained from the tool catalog returned by FetchSatelliteExtensionTools. It cannot be empty, can be up to 256 bytes in length, cannot contain control characters, and cannot be repeated in the list.

search_issues

mode

string

Yes

The mode of the tool. Valid values: auto (automatic execution), hil (manual confirmation required before each execution), or disabled (unavailable).

auto

displayName

string

No

The display name. It can be up to 512 bytes in length. If not provided, it reverts to the default value, which is an empty string.

Jira

Response elements

Element

Type

Description

Example

object

The response data.

requestId

string

The request ID.

0E5B3C2A-1D4F-4A6B-8C9D-7E1F2A3B4C5D

configRevision

integer

The updated version of the extension configuration. You can compare it with the appliedConfigRevision returned by GetSatelliteExtension to determine whether the machine has applied this configuration.

8

extension

object

The updated extension configuration, excluding the running status.

extensionName

string

The name of the extension.

jira

type

string

The type of the extension. Currently, the value is mcp.

mcp

description

string

The description of the extension. If not set, it is an empty string.

Internal Jira MCP service

enabled

boolean

Indicates whether the extension is enabled.

true

mcp

object

The connection configuration of the MCP server, including the saved authentication credentials.

url

string

The URL of the MCP server.

https://mcp.example.com/mcp

headers

object

The additional request headers added when connecting to the MCP server. The key is the header name.

string

The value of the request header.

example-value

auth

object

The authentication configuration for accessing the MCP server.

type

string

The authentication method: bearer or basic.

bearer

keyInfo

object

The authentication information. The saved credentials are returned as-is.

string

The value of the authentication information.

example-token

defaultToolMode

string

The mode used for tools not listed in toolPolicies. Valid values: auto, hil, or disabled.

disabled

toolPolicies

array<object>

The mode settings for an individual tool.

object

The mode settings for an individual tool.

toolName

string

The name of the tool.

search_issues

mode

string

The target mode of the tool. Valid values: auto, hil, or disabled.

auto

createTime

string

The creation time in ISO 8601 format (UTC), accurate to seconds.

2026-10-13T08:00:00Z

updateTime

string

The last update time in ISO 8601 format (UTC), accurate to seconds.

2026-10-13T08:00:00Z

displayName

string

The display name. If not set, it is an empty string.

Jira

Examples

Success response

JSON format

{
  "requestId": "0E5B3C2A-1D4F-4A6B-8C9D-7E1F2A3B4C5D",
  "configRevision": 8,
  "extension": {
    "extensionName": "jira",
    "type": "mcp",
    "description": "内网 Jira MCP 服务",
    "enabled": true,
    "mcp": {
      "url": "https://mcp.example.com/mcp",
      "headers": {
        "key": "example-value"
      },
      "auth": {
        "type": "bearer",
        "keyInfo": {
          "key": "example-token"
        }
      }
    },
    "defaultToolMode": "disabled",
    "toolPolicies": [
      {
        "toolName": "search_issues",
        "mode": "auto"
      }
    ],
    "createTime": "2026-10-13T08:00:00Z",
    "updateTime": "2026-10-13T08:00:00Z",
    "displayName": "Jira"
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.