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
Request
- Base URLhttps://api.outdoorsy.com/v0
- Auth
- API key in header Authorization
- or API key in header API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
A 24 character hex-encoded ObjectID value.
Response
Default response
Changes
No recorded changes to this operation across all 1 revision of this API.