Skip to navigation

Clone a DataPolicy

Beta

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.

Headers

EARLY-ACCESSstringOptional

Set to true to access beta operations via /api/v3.

Request

This endpoint expects an object.
namestringRequired
policyIdstringRequired
descriptionstringOptional

Response

OK
__typenamestringOptional
createdAtstringOptional
descriptionstring or nullOptional
idstringOptional
modifiedAtstringOptional
namestringOptional
policyStatementslist of objectsOptional
policyTypeenumOptional
Allowed values:

Errors

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