Data Policies
get
Fetches the configured topic creation policy. A default one will be returned if no one exists
Responses
200Success
application/json
400
The request input was invalid
application/json
401
Authentication error
application/json
402
The purchased Lenses license does not provide access to this feature
application/json
403
Authorisation error
application/json
404
The requested resource cannot be found
application/json
500
An internal server error has occurred
application/json
get
put
Sets the topic creation policy
Body
Responses
204Success
400
The request input was invalid
application/json
401
Authentication error
application/json
402
The purchased Lenses license does not provide access to this feature
application/json
403
Authorisation error
application/json
404
The requested resource cannot be found
application/json
500
An internal server error has occurred
application/json
put
No content
get
Returns all data policies obfuscation types
Responses
200Success
application/json
Responsestring[]
400
The request input was invalid
application/json
401
Authentication error
application/json
402
The purchased Lenses license does not provide access to this feature
application/json
403
Authorisation error
application/json
404
The requested resource cannot be found
application/json
500
An internal server error has occurred
application/json
get
get
Returns all data policies impact level types
Responses
200Success
application/json
Responsestring[]
400
The request input was invalid
application/json
401
Authentication error
application/json
402
The purchased Lenses license does not provide access to this feature
application/json
403
Authorisation error
application/json
404
The requested resource cannot be found
application/json
500
An internal server error has occurred
application/json
get
get
Returns all data policies category types
Responses
200Success
application/json
Responsestring[]
400
The request input was invalid
application/json
401
Authentication error
application/json
402
The purchased Lenses license does not provide access to this feature
application/json
403
Authorisation error
application/json
404
The requested resource cannot be found
application/json
500
An internal server error has occurred
application/json
get
get
Returns all the data policies rules entries
Responses
200Success
application/json
400
The request input was invalid
application/json
401
Authentication error
application/json
402
The purchased Lenses license does not provide access to this feature
application/json
403
Authorisation error
application/json
404
The requested resource cannot be found
application/json
500
An internal server error has occurred
application/json
get
post
Adds a new data policy
Body
namestringRequired
categorystringRequired
impactTypestring · enumRequiredPossible values:
obfuscationstringRequired
fieldsstring[]Optional
datasetsstring[] · min: 1Optional
Responses
201Success
text/plain
Responsestring
400
The request input was invalid
application/json
401
Authentication error
application/json
402
The purchased Lenses license does not provide access to this feature
application/json
403
Authorisation error
application/json
404
The requested resource cannot be found
application/json
500
An internal server error has occurred
application/json
post
get
Returns the data policy details
Path parameters
idstringRequired
Responses
200Success
application/json
400
The request input was invalid
application/json
401
Authentication error
application/json
402
The purchased Lenses license does not provide access to this feature
application/json
403
Authorisation error
application/json
404
The requested resource cannot be found
application/json
500
An internal server error has occurred
application/json
get
put
Updates an existing data policy
Path parameters
idstringRequired
Body
idstringRequired
namestringRequired
categorystringRequired
impactTypestring · enumRequiredPossible values:
obfuscationstringRequired
fieldsstring[]Optional
datasetsstring[] · min: 1Optional
Responses
200Success
400
The request input was invalid
application/json
401
Authentication error
application/json
402
The purchased Lenses license does not provide access to this feature
application/json
403
Authorisation error
application/json
404
The requested resource cannot be found
application/json
500
An internal server error has occurred
application/json
put
No content
delete
Deletes an existing data policy
Path parameters
idstringRequired
Responses
200Success
400
The request input was invalid
application/json
401
Authentication error
application/json
402
The purchased Lenses license does not provide access to this feature
application/json
403
Authorisation error
application/json
404
The requested resource cannot be found
application/json
500
An internal server error has occurred
application/json
delete
No content
get
Returns a data policy and its previous versions
Path parameters
idstringRequired
Responses
200Success
application/json
400
The request input was invalid
application/json
401
Authentication error
application/json
402
The purchased Lenses license does not provide access to this feature
application/json
403
Authorisation error
application/json
404
The requested resource cannot be found
application/json
500
An internal server error has occurred
application/json
get
post
Loads a default set of data policies entries covering used PII fields and obfuscation rules
Responses
200Success
400
The request input was invalid
application/json
401
Authentication error
application/json
402
The purchased Lenses license does not provide access to this feature
application/json
403
Authorisation error
application/json
404
The requested resource cannot be found
application/json
500
An internal server error has occurred
application/json
post
No content
Last updated
Was this helpful?