delete

This mixin provides a validate action that can be used in viewsets to validate an object and handle any errors and warnings from the serializer. The validate action only allows PUT and PATCH methods. It also accepts a save query parameter (default is 0) that determines whether the instance should be saved if the validation passes and there are no errors or warnings. If the save query parameter is provided and set to true, 1, or an empty value, and there are no errors or warnings, the instance will be saved and a permanent redirect to the detail view of the instance will be returned. If the save query parameter is not provided or set to false, the method will return a response with the errors and warnings along with a status code 202.

Language
Credentials
:
URL