Detach a file from a record

Removes the attachment relationship while keeping the file-manager record available.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Request

This endpoint expects an object.
file_manager_idintegerRequired
model_namestringRequired
model_idintegerRequired

Response

Attachment detached.
statusstringOptional
messagestringOptional

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error