Skip to content
Start here

Levels

Retrieve all sensitivity levels in a sensitivity group
client.ZeroTrust.DLP.SensitivityGroups.Levels.List(ctx, sensitivityGroupID, query) (*SinglePage[DLPSensitivityGroupLevelListResponse], error)
GET/accounts/{account_id}/dlp/sensitivity_groups/{sensitivity_group_id}/levels
Retrieve a specific sensitivity level.
client.ZeroTrust.DLP.SensitivityGroups.Levels.Get(ctx, sensitivityGroupID, sensitivityLevelID, query) (*DLPSensitivityGroupLevelGetResponse, error)
GET/accounts/{account_id}/dlp/sensitivity_groups/{sensitivity_group_id}/levels/{sensitivity_level_id}
Creates a new sensitivity level.
client.ZeroTrust.DLP.SensitivityGroups.Levels.New(ctx, sensitivityGroupID, params) (*DLPSensitivityGroupLevelNewResponse, error)
POST/accounts/{account_id}/dlp/sensitivity_groups/{sensitivity_group_id}/levels
Update the attributes of a single sensitivity level.
client.ZeroTrust.DLP.SensitivityGroups.Levels.Update(ctx, sensitivityGroupID, sensitivityLevelID, params) (*DLPSensitivityGroupLevelUpdateResponse, error)
PUT/accounts/{account_id}/dlp/sensitivity_groups/{sensitivity_group_id}/levels/{sensitivity_level_id}
Delete a single sensitivity level.
client.ZeroTrust.DLP.SensitivityGroups.Levels.Delete(ctx, sensitivityGroupID, sensitivityLevelID, body) (*DLPSensitivityGroupLevelDeleteResponse, error)
DELETE/accounts/{account_id}/dlp/sensitivity_groups/{sensitivity_group_id}/levels/{sensitivity_level_id}

LevelsOrder

Retrieve the ordered list of level IDs for a sensitivity group.
client.ZeroTrust.DLP.SensitivityGroups.Levels.Order.Get(ctx, sensitivityGroupID, query) (*DLPSensitivityGroupLevelOrderGetResponse, error)
GET/accounts/{account_id}/dlp/sensitivity_groups/{sensitivity_group_id}/level_order
Set the ordering of levels within a sensitivity group.
client.ZeroTrust.DLP.SensitivityGroups.Levels.Order.Update(ctx, sensitivityGroupID, params) (*DLPSensitivityGroupLevelOrderUpdateResponse, error)
PUT/accounts/{account_id}/dlp/sensitivity_groups/{sensitivity_group_id}/level_order