Copy content
1 min
POST
/_cms/v1/content/{key}:copy
keystringThe key of the content item to copy.
acceptstringGenerated from available response content types
Preferarray<p>Indicates client preference for the response content as per IETF RFC7240. Currently only supports 'return=representation' which can be used to indicate a preference to receive a representation of the resource that has been altered in the response.</p>
cms-accept-resourcearray<p>Indicates if the client accepts alternative response content in cases when the primary resource is unavailable. Empty and duplicated values are ignored. The order of values is ignored; When both are accepted, inherited resources take precedence over deleted resources. Unknown values are considered invalid.</p>
bodyobjectOptional instructions for how to copy content.
201Created
400Bad Request
401Unauthorized
403Forbidden
404Not Found
500Internal Server Error
curl --request POST \
--url /_cms/v1/content/{key}:copy \
--header 'accept: application/json'