Help Center/ CodeArts Pipeline/ API Reference/ API/ Pipeline Management/ Determining Whether the Current Tenant Has Agreed to the Free Trial Statement
Updated on 2025-12-04 GMT+08:00

Determining Whether the Current Tenant Has Agreed to the Free Trial Statement

Function

This API is used to check whether the current tenant has agreed to the free trial statement based on the tenant ID.

Calling Method

For details, see Calling APIs.

URI

GET /v5/{tenant_id}/api/is-accept-free-declaration

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

tenant_id

Yes

String

Definition:

Tenant ID, that is, domain ID of a user.

Constraints:

N/A

Value range:

The value consists of 32 characters, including only digits and letters.

Default value:

N/A

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

-

Boolean

Definition:

Whether the current tenant has agreed to the free trial statement.

Range:

  • true: The current tenant has agreed to the free trial statement.

  • false: The current tenant does not agree to the free trial statement.

Example Requests

GET https://{endpoint}/v5/ce8df55870164338a72d7e828a966a2a/api/is-accept-free-declaration?_=1763886106575

Example Responses

Status code: 200

OK

true

Status Codes

Status Code

Description

200

OK

Error Codes

See Error Codes.