suspend fun updateTemplateDeprecationStatus(authorizationContext: GropiusAuthorizationContext, input: UpdateTemplateDeprecationStatusInput): Template<*, *>
Gets the Template based on the provided input, and updates the deprecation status accordingly Checks the authorization status
Return
the updated saved Template
Parameters
authorizationContext
used to get the user & to check for the required permission
input
specifies which Template to update and how to change the deprecation status