Configuration Policies
This endpoint is used to fetch all the configuration pplicies in the current organization
Items Per Page
Page Number
Sorting Order
Sorting Key
GET /ux/nccm/configuration_policies/?items_per_page=1&page=1 HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
[
{
"id": "text",
"status": "text",
"creationtime": "text",
"last_update_time": "text",
"next_action_time": "text",
"last_action_time": "text",
"is_private": "text",
"rule_description": "text",
"schedule_descr": "text",
"visibility": "text",
"policyid": "text",
"name": "text",
"description": "text",
"organization": "text",
"processid": 1,
"associate_users": "text",
"associate_groups": "text",
"associated_rules": "text",
"associated_rule_groups": [],
"lastupdatetime": "2025-08-31T16:02:16.736Z",
"activated_by": "text",
"activation_time": "2025-08-31T16:02:16.736Z",
"activation_remarks": "text",
"policy_schedule": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"lastaction": "2025-08-31T16:02:16.736Z",
"nextaction": "2025-08-31T16:02:16.736Z",
"progress": 1,
"starttime": 1,
"endtime": 1,
"created_by": "text",
"modified_by": "text",
"assigned_users": [],
"assigned_group": [],
"is_deleted": true
}
]
This endpoint is used to save a new configuration policies for the current organization
No response body
No content
POST /ux/nccm/configuration_policies/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 38
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
No response body
No content
This endpoint is used to fetch a configuration profiles in the current organization
GET /ux/nccm/configuration_policies/{id}/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "text",
"status": "text",
"creationtime": "text",
"last_update_time": "text",
"next_action_time": "text",
"last_action_time": "text",
"is_private": "text",
"rule_description": "text",
"schedule_descr": "text",
"visibility": "text",
"policyid": "text",
"name": "text",
"description": "text",
"organization": "text",
"processid": 1,
"associate_users": "text",
"associate_groups": "text",
"associated_rules": "text",
"associated_rule_groups": [],
"lastupdatetime": "2025-08-31T16:02:16.736Z",
"activated_by": "text",
"activation_time": "2025-08-31T16:02:16.736Z",
"activation_remarks": "text",
"policy_schedule": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"lastaction": "2025-08-31T16:02:16.736Z",
"nextaction": "2025-08-31T16:02:16.736Z",
"progress": 1,
"starttime": 1,
"endtime": 1,
"created_by": "text",
"modified_by": "text",
"assigned_users": [],
"assigned_group": [],
"is_deleted": true
}
This endpoint is used to edit an existing configuration policies for the current organization
Serializer for Documents.
Recognized primitve fields:
* ``StringField``
* ``URLField``
* ``EmailField``
* ``IntField``
* ``LongField``
* ``FloatField``
* ``DecimalField``
* ``BooleanField``
* ``DateTimeField``
* ``ComplexDateTimeField``
* ``ObjectIdField``
* ``SequenceField`` (assumes it has integer counter)
* ``UUIDField``
* ``GeoPointField``
* ``GeoJsonBaseField`` (all those fields)
* ``DateField``
Compound fields: ListField
and DictField
are mapped to corresponding DRF fields, with respect to nested field specification.
The ReferenceField
is handled like ForeignKey
in DRF: there nested serializer autogenerated if serializer depth greater then 0, otherwise it's handled by it's own (results as str(id)
).
For EmbeddedDocumentField
also nested serializer autogenerated for non-zero depth, otherwise it is skipped. TODO: THIS IS PROBABLY WRONG AND SHOULD BE FIXED.
Generic fields GenericReferenceField
and GenericEmbeddedDocumentField
are handled by their own with corresponding serializer fields.
Not well supported or untested:
``FileField``
``ImageField``
``BinaryField``
All other fields are mapped to DocumentField
and probably will work wrong.
1
PUT /ux/nccm/configuration_policies/{id}/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 609
{
"policyid": "text",
"name": "text",
"description": "text",
"organization": "text",
"processid": 1,
"associate_users": "text",
"associate_groups": "text",
"associated_rules": "text",
"associated_rule_groups": [],
"lastupdatetime": "2025-08-31T16:02:16.736Z",
"activated_by": "text",
"activation_time": "2025-08-31T16:02:16.736Z",
"activation_remarks": "text",
"policy_schedule": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"lastaction": "2025-08-31T16:02:16.736Z",
"nextaction": "2025-08-31T16:02:16.736Z",
"progress": 1,
"starttime": 1,
"endtime": 1,
"created_by": "text",
"modified_by": "text",
"assigned_users": [],
"assigned_group": [],
"is_deleted": true
}
{
"id": "text",
"status": "text",
"creationtime": "text",
"last_update_time": "text",
"next_action_time": "text",
"last_action_time": "text",
"is_private": "text",
"rule_description": "text",
"schedule_descr": "text",
"visibility": "text",
"policyid": "text",
"name": "text",
"description": "text",
"organization": "text",
"processid": 1,
"associate_users": "text",
"associate_groups": "text",
"associated_rules": "text",
"associated_rule_groups": [],
"lastupdatetime": "2025-08-31T16:02:16.736Z",
"activated_by": "text",
"activation_time": "2025-08-31T16:02:16.736Z",
"activation_remarks": "text",
"policy_schedule": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"lastaction": "2025-08-31T16:02:16.736Z",
"nextaction": "2025-08-31T16:02:16.736Z",
"progress": 1,
"starttime": 1,
"endtime": 1,
"created_by": "text",
"modified_by": "text",
"assigned_users": [],
"assigned_group": [],
"is_deleted": true
}
This endpoint is used to delete an existing configuration policies for the current organization
No response body
No content
DELETE /ux/nccm/configuration_policies/{id}/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
No response body
No content
API endpoint that allows users to be viewed or edited.
Serializer for Documents.
Recognized primitve fields:
* ``StringField``
* ``URLField``
* ``EmailField``
* ``IntField``
* ``LongField``
* ``FloatField``
* ``DecimalField``
* ``BooleanField``
* ``DateTimeField``
* ``ComplexDateTimeField``
* ``ObjectIdField``
* ``SequenceField`` (assumes it has integer counter)
* ``UUIDField``
* ``GeoPointField``
* ``GeoJsonBaseField`` (all those fields)
* ``DateField``
Compound fields: ListField
and DictField
are mapped to corresponding DRF fields, with respect to nested field specification.
The ReferenceField
is handled like ForeignKey
in DRF: there nested serializer autogenerated if serializer depth greater then 0, otherwise it's handled by it's own (results as str(id)
).
For EmbeddedDocumentField
also nested serializer autogenerated for non-zero depth, otherwise it is skipped. TODO: THIS IS PROBABLY WRONG AND SHOULD BE FIXED.
Generic fields GenericReferenceField
and GenericEmbeddedDocumentField
are handled by their own with corresponding serializer fields.
Not well supported or untested:
``FileField``
``ImageField``
``BinaryField``
All other fields are mapped to DocumentField
and probably will work wrong.
1
POST /ux/nccm/configuration_policies/bulk-opration/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 609
{
"policyid": "text",
"name": "text",
"description": "text",
"organization": "text",
"processid": 1,
"associate_users": "text",
"associate_groups": "text",
"associated_rules": "text",
"associated_rule_groups": [],
"lastupdatetime": "2025-08-31T16:02:16.736Z",
"activated_by": "text",
"activation_time": "2025-08-31T16:02:16.736Z",
"activation_remarks": "text",
"policy_schedule": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"lastaction": "2025-08-31T16:02:16.736Z",
"nextaction": "2025-08-31T16:02:16.736Z",
"progress": 1,
"starttime": 1,
"endtime": 1,
"created_by": "text",
"modified_by": "text",
"assigned_users": [],
"assigned_group": [],
"is_deleted": true
}
{
"id": "text",
"status": "text",
"creationtime": "text",
"last_update_time": "text",
"next_action_time": "text",
"last_action_time": "text",
"is_private": "text",
"rule_description": "text",
"schedule_descr": "text",
"visibility": "text",
"policyid": "text",
"name": "text",
"description": "text",
"organization": "text",
"processid": 1,
"associate_users": "text",
"associate_groups": "text",
"associated_rules": "text",
"associated_rule_groups": [],
"lastupdatetime": "2025-08-31T16:02:16.736Z",
"activated_by": "text",
"activation_time": "2025-08-31T16:02:16.736Z",
"activation_remarks": "text",
"policy_schedule": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"lastaction": "2025-08-31T16:02:16.736Z",
"nextaction": "2025-08-31T16:02:16.736Z",
"progress": 1,
"starttime": 1,
"endtime": 1,
"created_by": "text",
"modified_by": "text",
"assigned_users": [],
"assigned_group": [],
"is_deleted": true
}
API endpoint that allows users to be viewed or edited.
Serializer for Documents.
Recognized primitve fields:
* ``StringField``
* ``URLField``
* ``EmailField``
* ``IntField``
* ``LongField``
* ``FloatField``
* ``DecimalField``
* ``BooleanField``
* ``DateTimeField``
* ``ComplexDateTimeField``
* ``ObjectIdField``
* ``SequenceField`` (assumes it has integer counter)
* ``UUIDField``
* ``GeoPointField``
* ``GeoJsonBaseField`` (all those fields)
* ``DateField``
Compound fields: ListField
and DictField
are mapped to corresponding DRF fields, with respect to nested field specification.
The ReferenceField
is handled like ForeignKey
in DRF: there nested serializer autogenerated if serializer depth greater then 0, otherwise it's handled by it's own (results as str(id)
).
For EmbeddedDocumentField
also nested serializer autogenerated for non-zero depth, otherwise it is skipped. TODO: THIS IS PROBABLY WRONG AND SHOULD BE FIXED.
Generic fields GenericReferenceField
and GenericEmbeddedDocumentField
are handled by their own with corresponding serializer fields.
Not well supported or untested:
``FileField``
``ImageField``
``BinaryField``
All other fields are mapped to DocumentField
and probably will work wrong.
1
POST /ux/nccm/configuration_policies/multi-delete/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 609
{
"policyid": "text",
"name": "text",
"description": "text",
"organization": "text",
"processid": 1,
"associate_users": "text",
"associate_groups": "text",
"associated_rules": "text",
"associated_rule_groups": [],
"lastupdatetime": "2025-08-31T16:02:16.736Z",
"activated_by": "text",
"activation_time": "2025-08-31T16:02:16.736Z",
"activation_remarks": "text",
"policy_schedule": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"lastaction": "2025-08-31T16:02:16.736Z",
"nextaction": "2025-08-31T16:02:16.736Z",
"progress": 1,
"starttime": 1,
"endtime": 1,
"created_by": "text",
"modified_by": "text",
"assigned_users": [],
"assigned_group": [],
"is_deleted": true
}
{
"id": "text",
"status": "text",
"creationtime": "text",
"last_update_time": "text",
"next_action_time": "text",
"last_action_time": "text",
"is_private": "text",
"rule_description": "text",
"schedule_descr": "text",
"visibility": "text",
"policyid": "text",
"name": "text",
"description": "text",
"organization": "text",
"processid": 1,
"associate_users": "text",
"associate_groups": "text",
"associated_rules": "text",
"associated_rule_groups": [],
"lastupdatetime": "2025-08-31T16:02:16.736Z",
"activated_by": "text",
"activation_time": "2025-08-31T16:02:16.736Z",
"activation_remarks": "text",
"policy_schedule": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"lastaction": "2025-08-31T16:02:16.736Z",
"nextaction": "2025-08-31T16:02:16.736Z",
"progress": 1,
"starttime": 1,
"endtime": 1,
"created_by": "text",
"modified_by": "text",
"assigned_users": [],
"assigned_group": [],
"is_deleted": true
}
This endpoint is used to get the default options for jobs Account Audit
GET /ux/nccm/configuration_policies/options/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "text",
"status": "text",
"creationtime": "text",
"last_update_time": "text",
"next_action_time": "text",
"last_action_time": "text",
"is_private": "text",
"rule_description": "text",
"schedule_descr": "text",
"visibility": "text",
"policyid": "text",
"name": "text",
"description": "text",
"organization": "text",
"processid": 1,
"associate_users": "text",
"associate_groups": "text",
"associated_rules": "text",
"associated_rule_groups": [],
"lastupdatetime": "2025-08-31T16:02:16.736Z",
"activated_by": "text",
"activation_time": "2025-08-31T16:02:16.736Z",
"activation_remarks": "text",
"policy_schedule": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"lastaction": "2025-08-31T16:02:16.736Z",
"nextaction": "2025-08-31T16:02:16.736Z",
"progress": 1,
"starttime": 1,
"endtime": 1,
"created_by": "text",
"modified_by": "text",
"assigned_users": [],
"assigned_group": [],
"is_deleted": true
}