All Products
Search
Document Center

PolarDB:CreateApplicationAgentRelation

Last Updated:Jul 27, 2026

Binds an Agent to a Squad.

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

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

ApplicationId

string

Yes

The ID of the Squad application.

pa-xxx

AgentId

string

Yes

The instance ID of the Agent to attach.

pa-xxx

Token

string

Yes

The authentication token.

pas_xxx

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

Id of the request

CD3FA5F3-FAF3-44CA-AFFF-BAF869******

ApplicationId

string

The ID of the Squad application.

pa-xxx

Examples

Success response

JSON format

{
  "RequestId": "CD3FA5F3-FAF3-44CA-AFFF-BAF869******",
  "ApplicationId": "pa-xxx"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.