v1

latestSwagger 2.02026-08-04283399898.4 KB
validations

Duplicates a validation, overwriting its arguments to copy its data to another object in the system. This is intended to be used when creating a more specific version of a validation. For example, a user-level validation that needs to be \"locked\" to a booking by using a user_id,booking_id tuple. Send the tuple you wish this duplicate to use as its identifier as the new_args key in the body.

post/admin/validations/{id}/duplicate

Path parameters

idstring required

A 24 character hex-encoded ObjectID value.

Response

Default response