|
@@ -372,7 +372,7 @@ module.exports = (crowi) => {
|
|
|
* - name: id
|
|
* - name: id
|
|
|
* in: path
|
|
* in: path
|
|
|
* required: true
|
|
* required: true
|
|
|
- * description: id of userGroup
|
|
|
|
|
|
|
+ * description: id of ExternalAccount
|
|
|
* schema:
|
|
* schema:
|
|
|
* type: string
|
|
* type: string
|
|
|
* responses:
|
|
* responses:
|
|
@@ -387,7 +387,7 @@ module.exports = (crowi) => {
|
|
|
* description: A result of `ExtenralAccount.findByIdAndRemove`
|
|
* description: A result of `ExtenralAccount.findByIdAndRemove`
|
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
- router.delete('/:id/remove', loginRequiredStrictly, adminRequired, csrf, validator.delete, ApiV3FormValidator, async(req, res) => {
|
|
|
|
|
|
|
+ router.delete('/external-accounts/:id/remove', loginRequiredStrictly, adminRequired, csrf, validator.delete, ApiV3FormValidator, async(req, res) => {
|
|
|
const { id: deleteExtenralAccountId } = req.params;
|
|
const { id: deleteExtenralAccountId } = req.params;
|
|
|
|
|
|
|
|
try {
|
|
try {
|