Skip to main content
DELETE
Delete a writer
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

DELETE /writer/writers/ Description: Deletes a writer. Refuses (400) if the writer is currently associated with any work — remove all CWRWorkWriter associations first via DELETE /writer/writers/{writerId}/works/{workId}. Authorization:
  • Required role: admin or higher
Method: DELETE

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string<uuid>
required

Response

Writer deleted

message
string
Example:

"Writer deleted successfully"