CMDBBlacklistWhitelist
This endpoint is used to fetch all the tags in the current organization
Authorizations
Query parameters
items_per_pageintegerRequired
Items Per Page
pageintegerRequired
Page Number
reversebooleanOptional
Sorting Order
sortstringOptional
Sorting Key
Responses
200
No response body
No content
get
GET /ux/common/cmdb/blackwhitelist/?items_per_page=1&page=1 HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
200
No response body
No content
This endpoint is used to save a software whitelist and blacklist
Authorizations
Body
Other propertiesanyOptional
Responses
201
No response body
No content
post
POST /ux/common/cmdb/blackwhitelist/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 158
{
"type": "1",
"label": "List of Whitelist & Blacklist software",
"description": "List of white and blacklist software",
"whitelist": [
"python"
],
"blacklist": [
"node"
]
}
201
No response body
No content
get
Adaptation of DRF ModelViewSet
Authorizations
Path parameters
idstringRequired
Responses
200
No response body
No content
get
GET /ux/common/cmdb/blackwhitelist/{id}/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
200
No response body
No content
put
Adaptation of DRF ModelViewSet
Authorizations
Path parameters
idstringRequired
Responses
200
No response body
No content
put
PUT /ux/common/cmdb/blackwhitelist/{id}/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
200
No response body
No content
delete
Adaptation of DRF ModelViewSet
Authorizations
Path parameters
idstringRequired
Responses
204
No response body
No content
delete
DELETE /ux/common/cmdb/blackwhitelist/{id}/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
204
No response body
No content
get
Adaptation of DRF ModelViewSet
Authorizations
Responses
200
No response body
No content
get
GET /ux/common/cmdb/blackwhitelist/options/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
200
No response body
No content