Updated on 2022-09-01 GMT+08:00

Object Model

An access control policy can protect access security of an API only after being bound to the API. This section describes the object model for binding an access control policy to an API, as shown in Table 1.

  • Operation Type indicates the operation that can be performed on a field.

    C: create; U: update; R: read

  • Mandatory indicates whether a field with the Operation Type of C is mandatory.
Table 1 Object model for binding an access control policy

Parameter

Type

Description

Operation Type

Mandatory

id

String

Binding ID

R

-

front_api_id

String

API ID

CR

Yes

env_id

String

Environment ID

CR

Yes

acl_id

String

Access control policy ID

CR

Yes

create_time

Timestamp

Time when the access control policy is bound to the API

CR

No