Duplicate object

post/v2/prism/{teamId}/action/{actionId}/duplicate

Path parameters

teamIdstring uuid required
actionIdstring uuid required

Headers

Idempotency-Keystring

A unique key (UUID or any opaque string up to 255 chars) for an authenticated POST, PUT, or PATCH request. The server retains the initial claim for 24 hours and replays a completed non-5xx response only when the method, path, and request body all match. Reusing a non-expired key with a different method, path, or body returns 409 idempotency_key_mismatch; reusing it after expiry returns 409 idempotency_key_stale, so use a new key. Replays include the idempotent-replay: true response header.

Response

Object duplicated. Returns the full new record (same shape as create).

idstring uuid required
defaultobject

Properties keyed by property slug.

listobject

Changes

Changed in 3 of the 29 revisions of this API.11

    • added the new optional header request parameter Idempotency-Key

      new-optional-request-parameter

    • added the media type application/json for the response with the status 401

      response-media-type-added

    • added the media type application/json for the response with the status 403

      response-media-type-added

    • added the media type application/json for the response with the status 500

      response-media-type-added

    • added the non-success response with the status 404

      response-non-success-status-added

    • added the non-success response with the status 409

      response-non-success-status-added

    • added the optional property default to the response with the 201 status

      response-optional-property-added

    • added the optional property list to the response with the 201 status

      response-optional-property-added

    • the response property id became required for the status 201

      response-property-became-required

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • api operation id duplicateActionV2 removed and replaced with duplicateAction

      api-operation-id-removed

    • endpoint added

      endpoint-added