code: public int delete(CMALocale locale) {
      final String id = getResourceIdOrThrow(locale, "locale");
      final String spaceId = getSpaceIdOrThrow(locale, "locale");
      final String environmentId = locale.getEnvironmentId();
  
      final CMASystem sys = locale.getSystem();
      locale.setSystem(null);
  
      try {
        final Response<Void> response = service.delete(spaceId, environmentId, id).blockingFirst();
        return response.code();
      } finally {
        locale.setSystem(sys);
      }
    }
docs: Delete the given locale instance.
  <p>
  Please make sure that the instance provided is fetched from Contentful. Otherwise you will
  get an exception thrown.
  
  @param locale the locale fetched from Contentful, updated by caller, to be deleted.
  @return the code of the response (204 means success).
  @throws IllegalArgumentException if space id is null.
  @throws IllegalArgumentException if locale id is null.