async deleteSpecifications(request) {
    const { index, collection } = request.getIndexAndCollection();
    const specificationsId = `${index}#${collection}`;

    try {
      await global.kuzzle.internalIndex.delete("validations", specificationsId);
    } catch (error) {
      if (error.status === 404) {
        return {
          acknowledged: true,
        };
      }

      throw error;
    }

    await global.kuzzle.internalIndex.refreshCollection("validations");
    await global.kuzzle.validation.curateSpecification();

    return {
      acknowledged: true,
    };
  }
Add a specification collections

@param {Request} request
@returns {Promise.<Object>}