@Summary Delete OAuth2 application tokens. @ID delete-oauth2-application-tokens @Security CoderSessionToken @Tags Enterprise @Param client_id query string true "Client ID" @Success 204 @Router /oauth2/tokens [delete]
()
| 157 | // @Success 204 |
| 158 | // @Router /oauth2/tokens [delete] |
| 159 | func (api *API) deleteOAuth2ProviderAppTokens() http.HandlerFunc { |
| 160 | return oauth2provider.RevokeApp(api.Database) |
| 161 | } |
| 162 | |
| 163 | // @Summary Revoke OAuth2 tokens (RFC 7009). |
| 164 | // @ID oauth2-token-revocation |