Help Center/ CodeArts Build/ API Reference/ APIs/ Tenant Management/ Checking If the Account Is Federated
Updated on 2025-12-10 GMT+08:00

Checking If the Account Is Federated

Function

This API is used to check if an account is a federated account.

Calling Method

For details, see Calling APIs.

URI

GET /v1/domain/federation

Request Parameters

None

Response Parameters

Status code: 200

Table 1 Response body parameters

Parameter

Type

Description

result

Boolean

Definition

Whether the account is federated.

Range

true: The account is a federated account.

false: The account is not a federated account.

error

String

Definition

Returned error message.

Range

N/A.

status

String

Definition

Returned status information.

Range

success: The API call is successful.

fail: The API call failed.

Example Requests

GET https://{endpoint}/v1/domain/federation

Example Responses

Status code: 200

OK

{
  "result" : false,
  "error" : null,
  "status" : "success"
}

Status Codes

Status Code

Description

200

OK

Error Codes

See Error Codes.