toggle menu
few
jvm
switch theme
search in API
api
/
com.few.api.domain.subscription.controller
/
SubscriptionController
/
unsubscribeWorkbook
unsubscribe
Workbook
@
PostMapping
(
value
=
[
"/workbooks/{workbookId}/unsubs"
]
)
fun
unsubscribeWorkbook
(
@
AuthenticationPrincipal
userDetails
:
TokenUserDetails
,
@
PathVariable
(
value
=
"workbookId"
)
@
Min
(
value
=
1
,
message
=
"{min.id}"
)
workbookId
:
Long
,
@
Valid
@
RequestBody
body
:
UnsubscribeWorkbookRequest
?
)
:
ApiResponse
<
ApiResponse.Success
>