Skip to main content

Copy an access policy

PUT 

/api/v1/AccessControlPolicy/Copy

Creates a new access policy from an existing one and returns it. The new policy takes its settings from the body you send, and keeps the accounts, account groups, user and group collections and credentials of the source policy; a resource-based copy also keeps the resources, resource groups and activities.

Permission required: Administrator.

Values for policyType: 0 = Resource, 1 = Credential.

Request​

Responses​

The copy was created. The body is the new policy.