Delete a user by ID or name, with soft/hard delete options
false, the user is soft-deleted and can be restored.DELETE /v1/users/name/{fqn} to delete by fully qualified name.
aaron_johnson0).PUT /v1/users/restore to restore a soft-deleted user.
deleted: true. Hard delete returns no content (204). Restore returns the restored user object.
| Code | Error Type | Description |
|---|---|---|
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to delete this user |
404 | NOT_FOUND | User with given ID or FQN does not exist |