Update Segmentation Session Settings
Updates the configuration settings for a segmentation session. This includes CSV column mappings and publish settings.
Notes
- Must be called before
PUT /{session-id}withaction: PARSE_FILE. csv_mappingscan only be updated prior to parsing the file, once we are pastFILE_PARSEDupdating the mappings will result in an error.allow_existing_group_renamecan be updated at any point during the session. Objects for which publish has already been triggered will use the setting at the time of publish.- Returns 200 on success
Unique identifier of the segmentation session
Updated settings configuration
{
"_create_time": 1781138986404,
"_last_modified_user": "admin",
"_last_modified_time": 1781139555120,
"_revision": 0,
"csv_mappings": {
"asset_identifiers": [
"asset id",
"asset name",
"asset ip"
],
"asset_type": "asset type",
"infrastructure_service": "infrastructure service",
"hierarchy_scopes": {
"region_scope": "region",
"zone_scope": "zone",
"environment_scope": "environment",
"application_scope": "application",
"application_tier_scope": "application tier"
}
}
}
Settings successfully updated
{
"_create_user": "system",
"_create_time": 1781138986404,
"_last_modified_user": "admin",
"_last_modified_time": 1781139555120,
"_revision": 1,
"id": "aaaa1111-bbbb-2222-cccc-3333dddd4444",
"display_name": "settings_aaaa1111-bbbb-2222-cccc-3333dddd4444",
"site_ids": [],
"csv_mappings": {
"asset_identifiers": [
"asset id",
"asset name",
"asset ip"
],
"columns": [
"asset type",
"asset name",
"asset ip",
"asset id",
"infrastructure service",
"region",
"zone",
"environment",
"application",
"application tier"
],
"asset_type": "asset type",
"hierarchy_scopes": {
"region_scope": "region",
"zone_scope": "zone",
"environment_scope": "environment",
"application_scope": "application",
"application_tier_scope": "application tier"
},
"infrastructure_service": "infrastructure service"
},
"allow_existing_group_rename": true
}
Bad Request
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unauthorized
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Forbidden
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Failed
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Required
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Too Many Requests
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unexpected error
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/ssp/segmentation/{session-id}/settings