Skip to navigation

Clone a DataPolicy

Clone a DataPolicy, copying its statements into a new DataPolicy with the given name; only DataPolicy objects can be cloned. If description is omitted, the clone is created with no description rather than copying the source’s.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
namestringRequired
policyIdstringRequired
descriptionstringOptional

Response

OK
__typenamestringOptional
createdAtstringOptionalformat: "datetime"
descriptionstring or nullOptional
idstringOptional
modifiedAtstringOptionalformat: "datetime"
namestringOptional
policyStatementslist of objectsOptional
policyTypeenumOptional
Allowed values:

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error