All Products
Search
Document Center

PolarDB:CreatePxfsUser

Last Updated:Sep 10, 2026

Creates a tenant identity for the Agent file service.

Operation description

Creates a tenant identity for the Agent file service.

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 parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

The region ID.

cn-hangzhou

DBInstanceName

string

Yes

The instance ID of the PolarDB-X instance.

pxc-xxxxxxxx

TenantId

string

Yes

The tenant ID.

tenant-001

IdentityName

string

Yes

The identity name.

agent-runtime

Role

string

Yes

The identity role.

MEMBER

PosixUid

integer

Yes

POSIX UID

1000

PosixGid

integer

Yes

POSIX GID

1000

Response elements

Element

Type

Description

Example

object

The response parameters.

RequestId

string

The request ID.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

Data

object

The response data.

TenantId

string

The tenant ID.

tenant-001

Role

string

The identity role.

MEMBER

PosixUid

integer

POSIX UID

1000

PosixGid

integer

POSIX GID

1000

Status

string

The status.

ACTIVE

IdentityName

string

The identity name.

agent-runtime

AccessDeniedDetail

object

The details of the access denial.

AuthAction

string

The authentication action.

xxx

AuthPrincipalType

string

The authentication principal type.

222

AuthPrincipalOwnerId

string

The owner ID of the authentication principal.

111

AuthPrincipalDisplayName

string

The display name of the authentication principal.

xxx

PolicyType

string

The policy type.

PRIORITY

NoPermissionType

string

NoPermissionType

ImplicitDeny

EncodedDiagnosticMessage

string

The encoded diagnostic message.

AQEAAAAAaKPfwjY0MzMyODRGLUZCQkQtNTA1RS04MUUxLTc5NTkzODk2MUIzMg==

Examples

Success response

JSON format

{
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
  "Data": {
    "TenantId": "tenant-001",
    "Role": "MEMBER",
    "PosixUid": 1000,
    "PosixGid": 1000,
    "Status": "ACTIVE",
    "IdentityName": "agent-runtime"
  },
  "AccessDeniedDetail": {
    "AuthAction": "xxx",
    "AuthPrincipalType": "222",
    "AuthPrincipalOwnerId": "111",
    "AuthPrincipalDisplayName": "xxx",
    "PolicyType": "PRIORITY",
    "NoPermissionType": "ImplicitDeny",
    "EncodedDiagnosticMessage": "AQEAAAAAaKPfwjY0MzMyODRGLUZCQkQtNTA1RS04MUUxLTc5NTkzODk2MUIzMg=="
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.