Documentation Index
Fetch the complete documentation index at: https://mintlify.com/LizandroCanul/back_sdo/llms.txt
Use this file to discover all available pages before exploring further.
DELETE /dependencias/:id
Performs a soft delete on a government dependency by setting itsactivo field to false. The dependency is not permanently removed from the database, allowing for data preservation and potential reactivation.
Authentication
No authentication required in the current implementation.Path Parameters
The unique identifier of the dependency to deleteExample:
1Response
Returns the dependency object withactivo set to false.
Unique identifier for the dependency
Full name of the dependency
Acronym or abbreviation for the dependency
Will always be
false after a successful delete operationExample Request
Example Responses
200 - Success
404 - Not Found
Soft Delete BehaviorThis endpoint implements a soft delete pattern, which means:
- The dependency record is not permanently removed from the database
- The
activofield is set tofalse - The dependency will not appear in default list responses (unless
ver_todo=trueis used) - The dependency can be reactivated by using the PATCH endpoint to set
activo: true - All historical data and relationships are preserved
To view inactive dependencies in list operations, use the
ver_todo=true query parameter: