Skip to main content
POST
Create Attribute

Body

application/json

The request body resource

name
string
required
Example:

"default-session-attribute"

access_control_group_names
string[]
Example:
access_request_rule_names
string[]
Example:
connection_names
string[]
Example:
datamasking_rule_names
string[]
Example:
description
string

The description of the attribute

Example:

"Blocks high-risk SQL commands"

guardrail_rule_names
string[]
Example:

Response

Created

access_control_group_names
string[]

Access control group names associated with this attribute

Example:
access_request_rule_names
string[]

Access request rule names associated with this attribute

Example:
connection_names
string[]

Connection names associated with this attribute

Example:
created_at
string
read-only

The time the resource was created

Example:

"2024-07-25T15:56:35.317601Z"

datamasking_rule_names
string[]

Datamasking rule names associated with this attribute

Example:
description
string

The description of the attribute

Example:

"Blocks high-risk SQL commands"

guardrail_rule_names
string[]

Guardrail rule names associated with this attribute

Example:
id
string<uuid>
read-only

The resource identifier

Example:

"15B5A2FD-0706-4A47-B1CF-B93CCFC5B3D7"

managed_by
string
read-only

Managed By is a read only field that indicates who manages this attribute. When set (e.g. "hoop" for protection profiles), the attribute cannot be modified or deleted directly.

Example:

"hoop"

name
string

The name of the attribute

Example:

"default-session-attribute"

org_id
string<uuid>
read-only

Organization ID that owns this attribute

Example:

"37EEBC20-D8DF-416B-8AC2-01B6EB456318"